@agentica/core 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/context/AgenticaOperation.d.ts +3 -4
- package/lib/context/internal/AgenticaOperationComposer.js +8 -1
- package/lib/context/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/context/internal/AgenticaOperationComposer.spec.js +39 -10
- package/lib/context/internal/AgenticaOperationComposer.spec.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.js +168 -168
- package/lib/functional/assertMcpController.d.ts +24 -0
- package/lib/functional/assertMcpController.js +1701 -0
- package/lib/functional/assertMcpController.js.map +1 -0
- package/lib/functional/validateHttpLlmApplication.js +148 -148
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1993 -402
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.js +11 -1
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/initialize.js +60 -60
- package/lib/structures/IAgenticaController.d.ts +8 -4
- package/lib/structures/mcp/index.d.ts +0 -2
- package/lib/structures/mcp/index.js +0 -2
- package/lib/structures/mcp/index.js.map +1 -1
- package/package.json +3 -3
- package/src/context/AgenticaOperation.ts +5 -6
- package/src/context/internal/AgenticaOperationComposer.spec.ts +45 -14
- package/src/context/internal/AgenticaOperationComposer.ts +10 -2
- package/src/functional/assertMcpController.ts +49 -0
- package/src/index.ts +1 -1
- package/src/orchestrate/call.ts +14 -4
- package/src/structures/IAgenticaController.ts +9 -4
- package/src/structures/mcp/index.ts +0 -2
- package/lib/functional/assertMcpLlmApplication.d.ts +0 -18
- package/lib/functional/assertMcpLlmApplication.js +0 -74
- package/lib/functional/assertMcpLlmApplication.js.map +0 -1
- package/lib/structures/mcp/IMcpLlmApplication.d.ts +0 -9
- package/lib/structures/mcp/IMcpLlmApplication.js +0 -3
- package/lib/structures/mcp/IMcpLlmApplication.js.map +0 -1
- package/lib/structures/mcp/IMcpLlmFunction.d.ts +0 -17
- package/lib/structures/mcp/IMcpLlmFunction.js +0 -3
- package/lib/structures/mcp/IMcpLlmFunction.js.map +0 -1
- package/src/functional/assertMcpLlmApplication.ts +0 -32
- package/src/structures/mcp/IMcpLlmApplication.ts +0 -10
- package/src/structures/mcp/IMcpLlmFunction.ts +0 -19
|
@@ -136,7 +136,7 @@ function assertHttpLlmApplication(props) {
|
|
|
136
136
|
if (undefined === value)
|
|
137
137
|
return true;
|
|
138
138
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
139
|
-
}); const _io79 = input => (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)) && (
|
|
139
|
+
}); const _io79 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema)); const _io80 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io81 = input => Object.keys(input).every(key => {
|
|
140
140
|
const value = input[key];
|
|
141
141
|
if (undefined === value)
|
|
142
142
|
return true;
|
|
@@ -181,7 +181,7 @@ function assertHttpLlmApplication(props) {
|
|
|
181
181
|
if (undefined === value)
|
|
182
182
|
return true;
|
|
183
183
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
184
|
-
}); const _io114 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && "string" === typeof input.$ref; const _io115 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io116 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io122 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io123 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io124 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io125 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io126 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io129 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io130 = input => Object.keys(input).every(key => {
|
|
184
|
+
}); const _io114 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io115 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && "string" === typeof input.$ref; const _io116 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io122 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io123 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io124 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io125 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io126 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io129 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io130 = input => Object.keys(input).every(key => {
|
|
185
185
|
const value = input[key];
|
|
186
186
|
if (undefined === value)
|
|
187
187
|
return true;
|
|
@@ -206,7 +206,7 @@ function assertHttpLlmApplication(props) {
|
|
|
206
206
|
if (undefined === value)
|
|
207
207
|
return true;
|
|
208
208
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
209
|
-
}); const _io146 = input => (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && (
|
|
209
|
+
}); const _io146 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)); const _io147 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io148 = input => Object.keys(input).every(key => {
|
|
210
210
|
const value = input[key];
|
|
211
211
|
if (undefined === value)
|
|
212
212
|
return true;
|
|
@@ -403,19 +403,19 @@ function assertHttpLlmApplication(props) {
|
|
|
403
403
|
else
|
|
404
404
|
return false;
|
|
405
405
|
})(); const _iu5 = input => (() => {
|
|
406
|
-
if (
|
|
406
|
+
if ("object" === input.type)
|
|
407
407
|
return _io114(input);
|
|
408
|
+
else if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
409
|
+
return _io115(input);
|
|
408
410
|
else if ("boolean" === input.type)
|
|
409
|
-
return
|
|
411
|
+
return _io117(input);
|
|
410
412
|
else if ("number" === input.type)
|
|
411
|
-
return
|
|
413
|
+
return _io119(input);
|
|
412
414
|
else if ("integer" === input.type)
|
|
413
|
-
return
|
|
415
|
+
return _io118(input);
|
|
414
416
|
else if ("string" === input.type)
|
|
415
|
-
return _io119(input);
|
|
416
|
-
else if ("array" === input.type)
|
|
417
417
|
return _io120(input);
|
|
418
|
-
else if ("
|
|
418
|
+
else if ("array" === input.type)
|
|
419
419
|
return _io121(input);
|
|
420
420
|
else if (undefined !== input.$recursiveRef)
|
|
421
421
|
return _io123(input);
|
|
@@ -424,7 +424,7 @@ function assertHttpLlmApplication(props) {
|
|
|
424
424
|
else
|
|
425
425
|
return (() => {
|
|
426
426
|
if (undefined !== input["const"])
|
|
427
|
-
return
|
|
427
|
+
return _io116(input);
|
|
428
428
|
else if (undefined !== input.$ref)
|
|
429
429
|
return _io122(input);
|
|
430
430
|
else if (undefined !== input.allOf)
|
|
@@ -4092,7 +4092,12 @@ function assertHttpLlmApplication(props) {
|
|
|
4092
4092
|
expected: "(Omit<OpenApiV3.IOperation.IParameter, \"in\"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
|
4093
4093
|
value: value
|
|
4094
4094
|
}, _errorFactory);
|
|
4095
|
-
}); const _ao79 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
4095
|
+
}); const _ao79 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4096
|
+
method: "typia.assert",
|
|
4097
|
+
path: _path + ".name",
|
|
4098
|
+
expected: "(string | undefined)",
|
|
4099
|
+
value: input.name
|
|
4100
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4096
4101
|
method: "typia.assert",
|
|
4097
4102
|
path: _path + ".required",
|
|
4098
4103
|
expected: "(boolean | undefined)",
|
|
@@ -4112,11 +4117,6 @@ function assertHttpLlmApplication(props) {
|
|
|
4112
4117
|
path: _path + ".examples",
|
|
4113
4118
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
4114
4119
|
value: input.examples
|
|
4115
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4116
|
-
method: "typia.assert",
|
|
4117
|
-
path: _path + ".name",
|
|
4118
|
-
expected: "(string | undefined)",
|
|
4119
|
-
value: input.name
|
|
4120
4120
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4121
4121
|
method: "typia.assert",
|
|
4122
4122
|
path: _path + ".schema",
|
|
@@ -5222,14 +5222,104 @@ function assertHttpLlmApplication(props) {
|
|
|
5222
5222
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5223
5223
|
value: value
|
|
5224
5224
|
}, _errorFactory);
|
|
5225
|
-
}); const _ao114 = (input, _path, _exceptionable = true) => (
|
|
5225
|
+
}); const _ao114 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5226
|
+
method: "typia.assert",
|
|
5227
|
+
path: _path + ".nullable",
|
|
5228
|
+
expected: "(boolean | undefined)",
|
|
5229
|
+
value: input.nullable
|
|
5230
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5231
|
+
method: "typia.assert",
|
|
5232
|
+
path: _path + ".properties",
|
|
5233
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
5234
|
+
value: input.properties
|
|
5235
|
+
}, _errorFactory)) && _ao113(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5236
|
+
method: "typia.assert",
|
|
5237
|
+
path: _path + ".properties",
|
|
5238
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
5239
|
+
value: input.properties
|
|
5240
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5241
|
+
method: "typia.assert",
|
|
5242
|
+
path: _path + ".required",
|
|
5243
|
+
expected: "(Array<string> | undefined)",
|
|
5244
|
+
value: input.required
|
|
5245
|
+
}, _errorFactory)) && input.required.every((elem, _index128) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5246
|
+
method: "typia.assert",
|
|
5247
|
+
path: _path + ".required[" + _index128 + "]",
|
|
5248
|
+
expected: "string",
|
|
5249
|
+
value: elem
|
|
5250
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5251
|
+
method: "typia.assert",
|
|
5252
|
+
path: _path + ".required",
|
|
5253
|
+
expected: "(Array<string> | undefined)",
|
|
5254
|
+
value: input.required
|
|
5255
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5256
|
+
method: "typia.assert",
|
|
5257
|
+
path: _path + ".additionalProperties",
|
|
5258
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
5259
|
+
value: input.additionalProperties
|
|
5260
|
+
}, _errorFactory)) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5261
|
+
method: "typia.assert",
|
|
5262
|
+
path: _path + ".additionalProperties",
|
|
5263
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
5264
|
+
value: input.additionalProperties
|
|
5265
|
+
}, _errorFactory)) && _au5(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5266
|
+
method: "typia.assert",
|
|
5267
|
+
path: _path + ".additionalProperties",
|
|
5268
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
5269
|
+
value: input.additionalProperties
|
|
5270
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5271
|
+
method: "typia.assert",
|
|
5272
|
+
path: _path + ".maxProperties",
|
|
5273
|
+
expected: "(number | undefined)",
|
|
5274
|
+
value: input.maxProperties
|
|
5275
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5276
|
+
method: "typia.assert",
|
|
5277
|
+
path: _path + ".minProperties",
|
|
5278
|
+
expected: "(number | undefined)",
|
|
5279
|
+
value: input.minProperties
|
|
5280
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5281
|
+
method: "typia.assert",
|
|
5282
|
+
path: _path + ".type",
|
|
5283
|
+
expected: "\"object\"",
|
|
5284
|
+
value: input.type
|
|
5285
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5286
|
+
method: "typia.assert",
|
|
5287
|
+
path: _path + ".title",
|
|
5288
|
+
expected: "(string | undefined)",
|
|
5289
|
+
value: input.title
|
|
5290
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5291
|
+
method: "typia.assert",
|
|
5292
|
+
path: _path + ".description",
|
|
5293
|
+
expected: "(string | undefined)",
|
|
5294
|
+
value: input.description
|
|
5295
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5296
|
+
method: "typia.assert",
|
|
5297
|
+
path: _path + ".deprecated",
|
|
5298
|
+
expected: "(boolean | undefined)",
|
|
5299
|
+
value: input.deprecated
|
|
5300
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5301
|
+
method: "typia.assert",
|
|
5302
|
+
path: _path + ".examples",
|
|
5303
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5304
|
+
value: input.examples
|
|
5305
|
+
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao58(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5306
|
+
method: "typia.assert",
|
|
5307
|
+
path: _path + ".examples",
|
|
5308
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5309
|
+
value: input.examples
|
|
5310
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5311
|
+
method: "typia.assert",
|
|
5312
|
+
path: _path + ".examples",
|
|
5313
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5314
|
+
value: input.examples
|
|
5315
|
+
}, _errorFactory))); const _ao115 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5226
5316
|
method: "typia.assert",
|
|
5227
5317
|
path: _path + ".type",
|
|
5228
5318
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
|
5229
5319
|
value: input.type
|
|
5230
|
-
}, _errorFactory)) && input.type.every((elem,
|
|
5320
|
+
}, _errorFactory)) && input.type.every((elem, _index129) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5231
5321
|
method: "typia.assert",
|
|
5232
|
-
path: _path + ".type[" +
|
|
5322
|
+
path: _path + ".type[" + _index129 + "]",
|
|
5233
5323
|
expected: "(\"array\" | \"boolean\" | \"integer\" | \"null\" | \"number\" | \"object\" | \"string\")",
|
|
5234
5324
|
value: elem
|
|
5235
5325
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5357,14 +5447,14 @@ function assertHttpLlmApplication(props) {
|
|
|
5357
5447
|
path: _path + ".items",
|
|
5358
5448
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
5359
5449
|
value: input.items
|
|
5360
|
-
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem,
|
|
5450
|
+
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5361
5451
|
method: "typia.assert",
|
|
5362
|
-
path: _path + ".items[" +
|
|
5452
|
+
path: _path + ".items[" + _index130 + "]",
|
|
5363
5453
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5364
5454
|
value: elem
|
|
5365
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
5455
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index130 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5366
5456
|
method: "typia.assert",
|
|
5367
|
-
path: _path + ".items[" +
|
|
5457
|
+
path: _path + ".items[" + _index130 + "]",
|
|
5368
5458
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5369
5459
|
value: elem
|
|
5370
5460
|
}, _errorFactory)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5382,14 +5472,14 @@ function assertHttpLlmApplication(props) {
|
|
|
5382
5472
|
path: _path + ".prefixItems",
|
|
5383
5473
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
5384
5474
|
value: input.prefixItems
|
|
5385
|
-
}, _errorFactory)) && input.prefixItems.every((elem,
|
|
5475
|
+
}, _errorFactory)) && input.prefixItems.every((elem, _index131) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5386
5476
|
method: "typia.assert",
|
|
5387
|
-
path: _path + ".prefixItems[" +
|
|
5477
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
5388
5478
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5389
5479
|
value: elem
|
|
5390
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
5480
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index131 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5391
5481
|
method: "typia.assert",
|
|
5392
|
-
path: _path + ".prefixItems[" +
|
|
5482
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
5393
5483
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5394
5484
|
value: elem
|
|
5395
5485
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5467,9 +5557,9 @@ function assertHttpLlmApplication(props) {
|
|
|
5467
5557
|
path: _path + ".required",
|
|
5468
5558
|
expected: "(Array<string> | undefined)",
|
|
5469
5559
|
value: input.required
|
|
5470
|
-
}, _errorFactory)) && input.required.every((elem,
|
|
5560
|
+
}, _errorFactory)) && input.required.every((elem, _index132) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5471
5561
|
method: "typia.assert",
|
|
5472
|
-
path: _path + ".required[" +
|
|
5562
|
+
path: _path + ".required[" + _index132 + "]",
|
|
5473
5563
|
expected: "string",
|
|
5474
5564
|
value: elem
|
|
5475
5565
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5492,14 +5582,14 @@ function assertHttpLlmApplication(props) {
|
|
|
5492
5582
|
path: _path + ".oneOf",
|
|
5493
5583
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5494
5584
|
value: input.oneOf
|
|
5495
|
-
}, _errorFactory)) && input.oneOf.every((elem,
|
|
5585
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5496
5586
|
method: "typia.assert",
|
|
5497
|
-
path: _path + ".oneOf[" +
|
|
5587
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
5498
5588
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5499
5589
|
value: elem
|
|
5500
|
-
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" +
|
|
5590
|
+
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" + _index133 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5501
5591
|
method: "typia.assert",
|
|
5502
|
-
path: _path + ".oneOf[" +
|
|
5592
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
5503
5593
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5504
5594
|
value: elem
|
|
5505
5595
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5522,14 +5612,14 @@ function assertHttpLlmApplication(props) {
|
|
|
5522
5612
|
path: _path + ".anyOf",
|
|
5523
5613
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5524
5614
|
value: input.anyOf
|
|
5525
|
-
}, _errorFactory)) && input.anyOf.every((elem,
|
|
5615
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5526
5616
|
method: "typia.assert",
|
|
5527
|
-
path: _path + ".anyOf[" +
|
|
5617
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
5528
5618
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5529
5619
|
value: elem
|
|
5530
|
-
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" +
|
|
5620
|
+
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" + _index134 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5531
5621
|
method: "typia.assert",
|
|
5532
|
-
path: _path + ".anyOf[" +
|
|
5622
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
5533
5623
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5534
5624
|
value: elem
|
|
5535
5625
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5542,14 +5632,14 @@ function assertHttpLlmApplication(props) {
|
|
|
5542
5632
|
path: _path + ".allOf",
|
|
5543
5633
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5544
5634
|
value: input.allOf
|
|
5545
|
-
}, _errorFactory)) && input.allOf.every((elem,
|
|
5635
|
+
}, _errorFactory)) && input.allOf.every((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5546
5636
|
method: "typia.assert",
|
|
5547
|
-
path: _path + ".allOf[" +
|
|
5637
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
5548
5638
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5549
5639
|
value: elem
|
|
5550
|
-
}, _errorFactory)) && _au5(elem, _path + ".allOf[" +
|
|
5640
|
+
}, _errorFactory)) && _au5(elem, _path + ".allOf[" + _index135 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5551
5641
|
method: "typia.assert",
|
|
5552
|
-
path: _path + ".allOf[" +
|
|
5642
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
5553
5643
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5554
5644
|
value: elem
|
|
5555
5645
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5562,7 +5652,7 @@ function assertHttpLlmApplication(props) {
|
|
|
5562
5652
|
path: _path + ".$ref",
|
|
5563
5653
|
expected: "string",
|
|
5564
5654
|
value: input.$ref
|
|
5565
|
-
}, _errorFactory)); const
|
|
5655
|
+
}, _errorFactory)); const _ao116 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5566
5656
|
method: "typia.assert",
|
|
5567
5657
|
path: _path + "[\"const\"]",
|
|
5568
5658
|
expected: "(boolean | number | string)",
|
|
@@ -5602,7 +5692,7 @@ function assertHttpLlmApplication(props) {
|
|
|
5602
5692
|
path: _path + ".deprecated",
|
|
5603
5693
|
expected: "(boolean | undefined)",
|
|
5604
5694
|
value: input.deprecated
|
|
5605
|
-
}, _errorFactory)) && true; const
|
|
5695
|
+
}, _errorFactory)) && true; const _ao117 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5606
5696
|
method: "typia.assert",
|
|
5607
5697
|
path: _path + ".nullable",
|
|
5608
5698
|
expected: "(boolean | undefined)",
|
|
@@ -5617,9 +5707,9 @@ function assertHttpLlmApplication(props) {
|
|
|
5617
5707
|
path: _path + "[\"enum\"]",
|
|
5618
5708
|
expected: "(Array<boolean | null> | undefined)",
|
|
5619
5709
|
value: input["enum"]
|
|
5620
|
-
}, _errorFactory)) && input["enum"].every((elem,
|
|
5710
|
+
}, _errorFactory)) && input["enum"].every((elem, _index136) => null === elem || "boolean" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5621
5711
|
method: "typia.assert",
|
|
5622
|
-
path: _path + "[\"enum\"][" +
|
|
5712
|
+
path: _path + "[\"enum\"][" + _index136 + "]",
|
|
5623
5713
|
expected: "(boolean | null)",
|
|
5624
5714
|
value: elem
|
|
5625
5715
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5662,7 +5752,7 @@ function assertHttpLlmApplication(props) {
|
|
|
5662
5752
|
path: _path + ".examples",
|
|
5663
5753
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5664
5754
|
value: input.examples
|
|
5665
|
-
}, _errorFactory))); const
|
|
5755
|
+
}, _errorFactory))); const _ao118 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5666
5756
|
method: "typia.assert",
|
|
5667
5757
|
path: _path + ".nullable",
|
|
5668
5758
|
expected: "(boolean | undefined)",
|
|
@@ -5682,9 +5772,9 @@ function assertHttpLlmApplication(props) {
|
|
|
5682
5772
|
path: _path + "[\"enum\"]",
|
|
5683
5773
|
expected: "(Array<number | null> | undefined)",
|
|
5684
5774
|
value: input["enum"]
|
|
5685
|
-
}, _errorFactory)) && input["enum"].every((elem,
|
|
5775
|
+
}, _errorFactory)) && input["enum"].every((elem, _index137) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5686
5776
|
method: "typia.assert",
|
|
5687
|
-
path: _path + "[\"enum\"][" +
|
|
5777
|
+
path: _path + "[\"enum\"][" + _index137 + "]",
|
|
5688
5778
|
expected: "(null | number)",
|
|
5689
5779
|
value: elem
|
|
5690
5780
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5782,7 +5872,7 @@ function assertHttpLlmApplication(props) {
|
|
|
5782
5872
|
path: _path + ".examples",
|
|
5783
5873
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5784
5874
|
value: input.examples
|
|
5785
|
-
}, _errorFactory))); const
|
|
5875
|
+
}, _errorFactory))); const _ao119 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5786
5876
|
method: "typia.assert",
|
|
5787
5877
|
path: _path + ".nullable",
|
|
5788
5878
|
expected: "(boolean | undefined)",
|
|
@@ -5797,9 +5887,9 @@ function assertHttpLlmApplication(props) {
|
|
|
5797
5887
|
path: _path + "[\"enum\"]",
|
|
5798
5888
|
expected: "(Array<number | null> | undefined)",
|
|
5799
5889
|
value: input["enum"]
|
|
5800
|
-
}, _errorFactory)) && input["enum"].every((elem,
|
|
5890
|
+
}, _errorFactory)) && input["enum"].every((elem, _index138) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5801
5891
|
method: "typia.assert",
|
|
5802
|
-
path: _path + "[\"enum\"][" +
|
|
5892
|
+
path: _path + "[\"enum\"][" + _index138 + "]",
|
|
5803
5893
|
expected: "(null | number)",
|
|
5804
5894
|
value: elem
|
|
5805
5895
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5872,7 +5962,7 @@ function assertHttpLlmApplication(props) {
|
|
|
5872
5962
|
path: _path + ".examples",
|
|
5873
5963
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5874
5964
|
value: input.examples
|
|
5875
|
-
}, _errorFactory))); const
|
|
5965
|
+
}, _errorFactory))); const _ao120 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5876
5966
|
method: "typia.assert",
|
|
5877
5967
|
path: _path + ".nullable",
|
|
5878
5968
|
expected: "(boolean | undefined)",
|
|
@@ -5887,9 +5977,9 @@ function assertHttpLlmApplication(props) {
|
|
|
5887
5977
|
path: _path + "[\"enum\"]",
|
|
5888
5978
|
expected: "(Array<string | null> | undefined)",
|
|
5889
5979
|
value: input["enum"]
|
|
5890
|
-
}, _errorFactory)) && input["enum"].every((elem,
|
|
5980
|
+
}, _errorFactory)) && input["enum"].every((elem, _index139) => null === elem || "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5891
5981
|
method: "typia.assert",
|
|
5892
|
-
path: _path + "[\"enum\"][" +
|
|
5982
|
+
path: _path + "[\"enum\"][" + _index139 + "]",
|
|
5893
5983
|
expected: "(null | string)",
|
|
5894
5984
|
value: elem
|
|
5895
5985
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -5967,7 +6057,7 @@ function assertHttpLlmApplication(props) {
|
|
|
5967
6057
|
path: _path + ".examples",
|
|
5968
6058
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5969
6059
|
value: input.examples
|
|
5970
|
-
}, _errorFactory))); const
|
|
6060
|
+
}, _errorFactory))); const _ao121 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5971
6061
|
method: "typia.assert",
|
|
5972
6062
|
path: _path + ".nullable",
|
|
5973
6063
|
expected: "(boolean | undefined)",
|
|
@@ -5977,14 +6067,14 @@ function assertHttpLlmApplication(props) {
|
|
|
5977
6067
|
path: _path + ".items",
|
|
5978
6068
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
5979
6069
|
value: input.items
|
|
5980
|
-
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem,
|
|
6070
|
+
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5981
6071
|
method: "typia.assert",
|
|
5982
|
-
path: _path + ".items[" +
|
|
6072
|
+
path: _path + ".items[" + _index140 + "]",
|
|
5983
6073
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5984
6074
|
value: elem
|
|
5985
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
6075
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index140 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5986
6076
|
method: "typia.assert",
|
|
5987
|
-
path: _path + ".items[" +
|
|
6077
|
+
path: _path + ".items[" + _index140 + "]",
|
|
5988
6078
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5989
6079
|
value: elem
|
|
5990
6080
|
}, _errorFactory)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -6002,14 +6092,14 @@ function assertHttpLlmApplication(props) {
|
|
|
6002
6092
|
path: _path + ".prefixItems",
|
|
6003
6093
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
6004
6094
|
value: input.prefixItems
|
|
6005
|
-
}, _errorFactory)) && input.prefixItems.every((elem,
|
|
6095
|
+
}, _errorFactory)) && input.prefixItems.every((elem, _index141) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6006
6096
|
method: "typia.assert",
|
|
6007
|
-
path: _path + ".prefixItems[" +
|
|
6097
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
6008
6098
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6009
6099
|
value: elem
|
|
6010
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
6100
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index141 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6011
6101
|
method: "typia.assert",
|
|
6012
|
-
path: _path + ".prefixItems[" +
|
|
6102
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
6013
6103
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6014
6104
|
value: elem
|
|
6015
6105
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -6092,96 +6182,6 @@ function assertHttpLlmApplication(props) {
|
|
|
6092
6182
|
path: _path + ".examples",
|
|
6093
6183
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
6094
6184
|
value: input.examples
|
|
6095
|
-
}, _errorFactory))); const _ao121 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6096
|
-
method: "typia.assert",
|
|
6097
|
-
path: _path + ".nullable",
|
|
6098
|
-
expected: "(boolean | undefined)",
|
|
6099
|
-
value: input.nullable
|
|
6100
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6101
|
-
method: "typia.assert",
|
|
6102
|
-
path: _path + ".properties",
|
|
6103
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
6104
|
-
value: input.properties
|
|
6105
|
-
}, _errorFactory)) && _ao113(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6106
|
-
method: "typia.assert",
|
|
6107
|
-
path: _path + ".properties",
|
|
6108
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
6109
|
-
value: input.properties
|
|
6110
|
-
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6111
|
-
method: "typia.assert",
|
|
6112
|
-
path: _path + ".required",
|
|
6113
|
-
expected: "(Array<string> | undefined)",
|
|
6114
|
-
value: input.required
|
|
6115
|
-
}, _errorFactory)) && input.required.every((elem, _index141) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6116
|
-
method: "typia.assert",
|
|
6117
|
-
path: _path + ".required[" + _index141 + "]",
|
|
6118
|
-
expected: "string",
|
|
6119
|
-
value: elem
|
|
6120
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6121
|
-
method: "typia.assert",
|
|
6122
|
-
path: _path + ".required",
|
|
6123
|
-
expected: "(Array<string> | undefined)",
|
|
6124
|
-
value: input.required
|
|
6125
|
-
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6126
|
-
method: "typia.assert",
|
|
6127
|
-
path: _path + ".additionalProperties",
|
|
6128
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
6129
|
-
value: input.additionalProperties
|
|
6130
|
-
}, _errorFactory)) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6131
|
-
method: "typia.assert",
|
|
6132
|
-
path: _path + ".additionalProperties",
|
|
6133
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
6134
|
-
value: input.additionalProperties
|
|
6135
|
-
}, _errorFactory)) && _au5(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6136
|
-
method: "typia.assert",
|
|
6137
|
-
path: _path + ".additionalProperties",
|
|
6138
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
6139
|
-
value: input.additionalProperties
|
|
6140
|
-
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6141
|
-
method: "typia.assert",
|
|
6142
|
-
path: _path + ".maxProperties",
|
|
6143
|
-
expected: "(number | undefined)",
|
|
6144
|
-
value: input.maxProperties
|
|
6145
|
-
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6146
|
-
method: "typia.assert",
|
|
6147
|
-
path: _path + ".minProperties",
|
|
6148
|
-
expected: "(number | undefined)",
|
|
6149
|
-
value: input.minProperties
|
|
6150
|
-
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6151
|
-
method: "typia.assert",
|
|
6152
|
-
path: _path + ".type",
|
|
6153
|
-
expected: "\"object\"",
|
|
6154
|
-
value: input.type
|
|
6155
|
-
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6156
|
-
method: "typia.assert",
|
|
6157
|
-
path: _path + ".title",
|
|
6158
|
-
expected: "(string | undefined)",
|
|
6159
|
-
value: input.title
|
|
6160
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6161
|
-
method: "typia.assert",
|
|
6162
|
-
path: _path + ".description",
|
|
6163
|
-
expected: "(string | undefined)",
|
|
6164
|
-
value: input.description
|
|
6165
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6166
|
-
method: "typia.assert",
|
|
6167
|
-
path: _path + ".deprecated",
|
|
6168
|
-
expected: "(boolean | undefined)",
|
|
6169
|
-
value: input.deprecated
|
|
6170
|
-
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6171
|
-
method: "typia.assert",
|
|
6172
|
-
path: _path + ".examples",
|
|
6173
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
6174
|
-
value: input.examples
|
|
6175
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao58(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6176
|
-
method: "typia.assert",
|
|
6177
|
-
path: _path + ".examples",
|
|
6178
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
6179
|
-
value: input.examples
|
|
6180
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6181
|
-
method: "typia.assert",
|
|
6182
|
-
path: _path + ".examples",
|
|
6183
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
6184
|
-
value: input.examples
|
|
6185
6185
|
}, _errorFactory))); const _ao122 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6186
6186
|
method: "typia.assert",
|
|
6187
6187
|
path: _path + ".$ref",
|
|
@@ -7087,7 +7087,12 @@ function assertHttpLlmApplication(props) {
|
|
|
7087
7087
|
expected: "(Omit<OpenApiV3_1.IOperation.IParameter, \"in\"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
|
7088
7088
|
value: value
|
|
7089
7089
|
}, _errorFactory);
|
|
7090
|
-
}); const _ao146 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
7090
|
+
}); const _ao146 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7091
|
+
method: "typia.assert",
|
|
7092
|
+
path: _path + ".name",
|
|
7093
|
+
expected: "(string | undefined)",
|
|
7094
|
+
value: input.name
|
|
7095
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7091
7096
|
method: "typia.assert",
|
|
7092
7097
|
path: _path + ".required",
|
|
7093
7098
|
expected: "(boolean | undefined)",
|
|
@@ -7107,11 +7112,6 @@ function assertHttpLlmApplication(props) {
|
|
|
7107
7112
|
path: _path + ".examples",
|
|
7108
7113
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
7109
7114
|
value: input.examples
|
|
7110
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7111
|
-
method: "typia.assert",
|
|
7112
|
-
path: _path + ".name",
|
|
7113
|
-
expected: "(string | undefined)",
|
|
7114
|
-
value: input.name
|
|
7115
7115
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7116
7116
|
method: "typia.assert",
|
|
7117
7117
|
path: _path + ".schema",
|
|
@@ -9318,19 +9318,19 @@ function assertHttpLlmApplication(props) {
|
|
|
9318
9318
|
value: input
|
|
9319
9319
|
}, _errorFactory);
|
|
9320
9320
|
})(); const _au5 = (input, _path, _exceptionable = true) => (() => {
|
|
9321
|
-
if (
|
|
9321
|
+
if ("object" === input.type)
|
|
9322
9322
|
return _ao114(input, _path, true && _exceptionable);
|
|
9323
|
+
else if (Array.isArray(input.type) && input.type.every((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
9324
|
+
return _ao115(input, _path, true && _exceptionable);
|
|
9323
9325
|
else if ("boolean" === input.type)
|
|
9324
|
-
return
|
|
9326
|
+
return _ao117(input, _path, true && _exceptionable);
|
|
9325
9327
|
else if ("number" === input.type)
|
|
9326
|
-
return
|
|
9328
|
+
return _ao119(input, _path, true && _exceptionable);
|
|
9327
9329
|
else if ("integer" === input.type)
|
|
9328
|
-
return
|
|
9330
|
+
return _ao118(input, _path, true && _exceptionable);
|
|
9329
9331
|
else if ("string" === input.type)
|
|
9330
|
-
return _ao119(input, _path, true && _exceptionable);
|
|
9331
|
-
else if ("array" === input.type)
|
|
9332
9332
|
return _ao120(input, _path, true && _exceptionable);
|
|
9333
|
-
else if ("
|
|
9333
|
+
else if ("array" === input.type)
|
|
9334
9334
|
return _ao121(input, _path, true && _exceptionable);
|
|
9335
9335
|
else if (undefined !== input.$recursiveRef)
|
|
9336
9336
|
return _ao123(input, _path, true && _exceptionable);
|
|
@@ -9339,7 +9339,7 @@ function assertHttpLlmApplication(props) {
|
|
|
9339
9339
|
else
|
|
9340
9340
|
return (() => {
|
|
9341
9341
|
if (undefined !== input["const"])
|
|
9342
|
-
return
|
|
9342
|
+
return _ao116(input, _path, true && _exceptionable);
|
|
9343
9343
|
else if (undefined !== input.$ref)
|
|
9344
9344
|
return _ao122(input, _path, true && _exceptionable);
|
|
9345
9345
|
else if (undefined !== input.allOf)
|