@agentica/core 0.29.5 → 0.30.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/constants/AgenticaSystemPrompt.d.ts +1 -0
- package/lib/constants/AgenticaSystemPrompt.js +2 -1
- package/lib/constants/AgenticaSystemPrompt.js.map +1 -1
- package/lib/events/AgenticaEvent.d.ts +3 -1
- package/lib/events/AgenticaJsonParseErrorEvent.d.ts +8 -0
- package/lib/events/AgenticaJsonParseErrorEvent.js +3 -0
- package/lib/events/AgenticaJsonParseErrorEvent.js.map +1 -0
- package/lib/events/MicroAgenticaEvent.d.ts +3 -1
- package/lib/events/index.d.ts +1 -0
- package/lib/events/index.js +1 -0
- package/lib/events/index.js.map +1 -1
- package/lib/factory/events.d.ts +8 -1
- package/lib/factory/events.js +14 -2
- package/lib/factory/events.js.map +1 -1
- package/lib/functional/assertHttpController.js +14 -14
- package/lib/functional/assertHttpLlmApplication.js +14 -14
- package/lib/functional/validateHttpController.js +14 -14
- package/lib/functional/validateHttpLlmApplication.js +14 -14
- package/lib/index.mjs +764 -1722
- package/lib/index.mjs.map +1 -1
- package/lib/json/IAgenticaEventJson.d.ts +18 -5
- package/lib/orchestrate/call.d.ts +1 -1
- package/lib/orchestrate/call.js +199 -285
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/cancel.js +23 -20
- package/lib/orchestrate/cancel.js.map +1 -1
- package/lib/orchestrate/initialize.js +565 -1560
- package/lib/orchestrate/initialize.js.map +1 -1
- package/lib/orchestrate/select.js +24 -21
- package/lib/orchestrate/select.js.map +1 -1
- package/lib/structures/IAgenticaSystemPrompt.d.ts +31 -0
- package/lib/structures/IMicroAgenticaSystemPrompt.d.ts +31 -0
- package/package.json +5 -5
- package/prompts/json_parse_error.md +32 -0
- package/prompts/validate.md +61 -13
- package/src/constants/AgenticaSystemPrompt.ts +3 -1
- package/src/events/AgenticaEvent.ts +3 -0
- package/src/events/AgenticaJsonParseErrorEvent.ts +12 -0
- package/src/events/MicroAgenticaEvent.ts +4 -1
- package/src/events/index.ts +1 -0
- package/src/factory/events.ts +19 -1
- package/src/json/IAgenticaEventJson.ts +20 -4
- package/src/orchestrate/call.ts +273 -389
- package/src/orchestrate/initialize.ts +2 -2
- package/src/orchestrate/select.ts +2 -2
- package/src/structures/IAgenticaSystemPrompt.ts +32 -0
- package/src/structures/IMicroAgenticaSystemPrompt.ts +32 -0
|
@@ -79,7 +79,7 @@ function assertHttpController(props) {
|
|
|
79
79
|
if (undefined === value)
|
|
80
80
|
return true;
|
|
81
81
|
return "object" === typeof value && null !== value && _iu10(value);
|
|
82
|
-
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
82
|
+
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io33 = input => "basic" === input.type && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io34 = input => "oauth2" === input.type && "implicit" === input.flow && (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)) && (undefined === input.description || "string" === typeof input.description); const _io35 = input => Object.keys(input).every(key => {
|
|
83
83
|
const value = input[key];
|
|
84
84
|
if (undefined === value)
|
|
85
85
|
return true;
|
|
@@ -139,7 +139,7 @@ function assertHttpController(props) {
|
|
|
139
139
|
if (undefined === value)
|
|
140
140
|
return true;
|
|
141
141
|
return "object" === typeof value && null !== value && _io82(value);
|
|
142
|
-
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
142
|
+
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema)) && (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)); const _io83 = input => Object.keys(input).every(key => {
|
|
143
143
|
const value = input[key];
|
|
144
144
|
if (undefined === value)
|
|
145
145
|
return true;
|
|
@@ -149,7 +149,7 @@ function assertHttpController(props) {
|
|
|
149
149
|
if (undefined === value)
|
|
150
150
|
return true;
|
|
151
151
|
return "object" === typeof value && null !== value && _iu14(value);
|
|
152
|
-
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
152
|
+
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io87 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io88 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io89 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io90(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io90 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io91(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io92(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io93(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io93(input.clientCredentials)); const _io91 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io92 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io93 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io94 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io95 = input => Object.keys(input).every(key => {
|
|
153
153
|
const value = input[key];
|
|
154
154
|
if (undefined === value)
|
|
155
155
|
return true;
|
|
@@ -184,7 +184,7 @@ function assertHttpController(props) {
|
|
|
184
184
|
if (undefined === value)
|
|
185
185
|
return true;
|
|
186
186
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
|
|
187
|
-
}); const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace)); const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
187
|
+
}); const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace)); const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)) && (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)); const _io133 = input => Object.keys(input).every(key => {
|
|
188
188
|
const value = input[key];
|
|
189
189
|
if (undefined === value)
|
|
190
190
|
return true;
|
|
@@ -224,7 +224,7 @@ function assertHttpController(props) {
|
|
|
224
224
|
if (undefined === value)
|
|
225
225
|
return true;
|
|
226
226
|
return "object" === typeof value && null !== value && _iu21(value);
|
|
227
|
-
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
227
|
+
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io153 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io154 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io155 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io156(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io156 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io157(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io158(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io159(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io159(input.clientCredentials)); const _io157 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io158 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io159 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io160 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io161 = input => Object.keys(input).every(key => {
|
|
228
228
|
const value = input[key];
|
|
229
229
|
if (undefined === value)
|
|
230
230
|
return true;
|
|
@@ -254,12 +254,12 @@ function assertHttpController(props) {
|
|
|
254
254
|
if (undefined === value)
|
|
255
255
|
return true;
|
|
256
256
|
return "object" === typeof value && null !== value && _iu23(value);
|
|
257
|
-
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
257
|
+
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io190 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io191 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io192 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io193(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io193 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io194(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io195(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io196(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io196(input.clientCredentials)); const _io194 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io195 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io196 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io197 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io198 = input => Object.keys(input).every(key => {
|
|
258
258
|
const value = input[key];
|
|
259
259
|
if (undefined === value)
|
|
260
260
|
return true;
|
|
261
261
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
|
|
262
|
-
}); const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace)); const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io201(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
262
|
+
}); const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace)); const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io201(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io202(input.examples)); const _io202 = input => Object.keys(input).every(key => {
|
|
263
263
|
const value = input[key];
|
|
264
264
|
if (undefined === value)
|
|
265
265
|
return true;
|
|
@@ -2325,7 +2325,7 @@ function assertHttpController(props) {
|
|
|
2325
2325
|
path: _path + ".type",
|
|
2326
2326
|
expected: "\"apiKey\"",
|
|
2327
2327
|
value: input.type
|
|
2328
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
2328
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2329
2329
|
method: "typia.assert",
|
|
2330
2330
|
path: _path + "[\"in\"]",
|
|
2331
2331
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -4180,7 +4180,7 @@ function assertHttpController(props) {
|
|
|
4180
4180
|
path: _path + ".name",
|
|
4181
4181
|
expected: "(string | undefined)",
|
|
4182
4182
|
value: input.name
|
|
4183
|
-
}, _errorFactory)) && ("path" === input["in"] || "
|
|
4183
|
+
}, _errorFactory)) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4184
4184
|
method: "typia.assert",
|
|
4185
4185
|
path: _path + "[\"in\"]",
|
|
4186
4186
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
@@ -4270,7 +4270,7 @@ function assertHttpController(props) {
|
|
|
4270
4270
|
path: _path + ".type",
|
|
4271
4271
|
expected: "\"apiKey\"",
|
|
4272
4272
|
value: input.type
|
|
4273
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
4273
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4274
4274
|
method: "typia.assert",
|
|
4275
4275
|
path: _path + "[\"in\"]",
|
|
4276
4276
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -6655,7 +6655,7 @@ function assertHttpController(props) {
|
|
|
6655
6655
|
path: _path + ".name",
|
|
6656
6656
|
expected: "(string | undefined)",
|
|
6657
6657
|
value: input.name
|
|
6658
|
-
}, _errorFactory)) && ("path" === input["in"] || "
|
|
6658
|
+
}, _errorFactory)) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6659
6659
|
method: "typia.assert",
|
|
6660
6660
|
path: _path + "[\"in\"]",
|
|
6661
6661
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
@@ -7220,7 +7220,7 @@ function assertHttpController(props) {
|
|
|
7220
7220
|
path: _path + ".type",
|
|
7221
7221
|
expected: "\"apiKey\"",
|
|
7222
7222
|
value: input.type
|
|
7223
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
7223
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7224
7224
|
method: "typia.assert",
|
|
7225
7225
|
path: _path + "[\"in\"]",
|
|
7226
7226
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -8485,7 +8485,7 @@ function assertHttpController(props) {
|
|
|
8485
8485
|
path: _path + ".type",
|
|
8486
8486
|
expected: "\"apiKey\"",
|
|
8487
8487
|
value: input.type
|
|
8488
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
8488
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8489
8489
|
method: "typia.assert",
|
|
8490
8490
|
path: _path + "[\"in\"]",
|
|
8491
8491
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -8945,7 +8945,7 @@ function assertHttpController(props) {
|
|
|
8945
8945
|
path: _path + ".name",
|
|
8946
8946
|
expected: "(string | undefined)",
|
|
8947
8947
|
value: input.name
|
|
8948
|
-
}, _errorFactory)) && ("path" === input["in"] || "
|
|
8948
|
+
}, _errorFactory)) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8949
8949
|
method: "typia.assert",
|
|
8950
8950
|
path: _path + "[\"in\"]",
|
|
8951
8951
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
@@ -82,7 +82,7 @@ function assertHttpLlmApplication(props) {
|
|
|
82
82
|
if (undefined === value)
|
|
83
83
|
return true;
|
|
84
84
|
return "object" === typeof value && null !== value && _iu10(value);
|
|
85
|
-
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
85
|
+
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io33 = input => "basic" === input.type && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io34 = input => "oauth2" === input.type && "implicit" === input.flow && (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)) && (undefined === input.description || "string" === typeof input.description); const _io35 = input => Object.keys(input).every(key => {
|
|
86
86
|
const value = input[key];
|
|
87
87
|
if (undefined === value)
|
|
88
88
|
return true;
|
|
@@ -142,7 +142,7 @@ function assertHttpLlmApplication(props) {
|
|
|
142
142
|
if (undefined === value)
|
|
143
143
|
return true;
|
|
144
144
|
return "object" === typeof value && null !== value && _io82(value);
|
|
145
|
-
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
145
|
+
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema)) && (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)); const _io83 = input => Object.keys(input).every(key => {
|
|
146
146
|
const value = input[key];
|
|
147
147
|
if (undefined === value)
|
|
148
148
|
return true;
|
|
@@ -152,7 +152,7 @@ function assertHttpLlmApplication(props) {
|
|
|
152
152
|
if (undefined === value)
|
|
153
153
|
return true;
|
|
154
154
|
return "object" === typeof value && null !== value && _iu14(value);
|
|
155
|
-
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
155
|
+
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io87 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io88 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io89 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io90(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io90 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io91(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io92(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io93(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io93(input.clientCredentials)); const _io91 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io92 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io93 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io94 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io95 = input => Object.keys(input).every(key => {
|
|
156
156
|
const value = input[key];
|
|
157
157
|
if (undefined === value)
|
|
158
158
|
return true;
|
|
@@ -187,7 +187,7 @@ function assertHttpLlmApplication(props) {
|
|
|
187
187
|
if (undefined === value)
|
|
188
188
|
return true;
|
|
189
189
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
|
|
190
|
-
}); const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace)); const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
190
|
+
}); const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace)); const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)) && (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)); const _io133 = input => Object.keys(input).every(key => {
|
|
191
191
|
const value = input[key];
|
|
192
192
|
if (undefined === value)
|
|
193
193
|
return true;
|
|
@@ -227,7 +227,7 @@ function assertHttpLlmApplication(props) {
|
|
|
227
227
|
if (undefined === value)
|
|
228
228
|
return true;
|
|
229
229
|
return "object" === typeof value && null !== value && _iu21(value);
|
|
230
|
-
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
230
|
+
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io153 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io154 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io155 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io156(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io156 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io157(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io158(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io159(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io159(input.clientCredentials)); const _io157 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io158 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io159 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io160 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io161 = input => Object.keys(input).every(key => {
|
|
231
231
|
const value = input[key];
|
|
232
232
|
if (undefined === value)
|
|
233
233
|
return true;
|
|
@@ -257,12 +257,12 @@ function assertHttpLlmApplication(props) {
|
|
|
257
257
|
if (undefined === value)
|
|
258
258
|
return true;
|
|
259
259
|
return "object" === typeof value && null !== value && _iu23(value);
|
|
260
|
-
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
260
|
+
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io190 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io191 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io192 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io193(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io193 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io194(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io195(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io196(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io196(input.clientCredentials)); const _io194 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io195 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io196 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io35(input.scopes)); const _io197 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io198 = input => Object.keys(input).every(key => {
|
|
261
261
|
const value = input[key];
|
|
262
262
|
if (undefined === value)
|
|
263
263
|
return true;
|
|
264
264
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
|
|
265
|
-
}); const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace)); const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io201(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
265
|
+
}); const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace)); const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io201(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io202(input.examples)); const _io202 = input => Object.keys(input).every(key => {
|
|
266
266
|
const value = input[key];
|
|
267
267
|
if (undefined === value)
|
|
268
268
|
return true;
|
|
@@ -2328,7 +2328,7 @@ function assertHttpLlmApplication(props) {
|
|
|
2328
2328
|
path: _path + ".type",
|
|
2329
2329
|
expected: "\"apiKey\"",
|
|
2330
2330
|
value: input.type
|
|
2331
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
2331
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2332
2332
|
method: "typia.assert",
|
|
2333
2333
|
path: _path + "[\"in\"]",
|
|
2334
2334
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -4183,7 +4183,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4183
4183
|
path: _path + ".name",
|
|
4184
4184
|
expected: "(string | undefined)",
|
|
4185
4185
|
value: input.name
|
|
4186
|
-
}, _errorFactory)) && ("path" === input["in"] || "
|
|
4186
|
+
}, _errorFactory)) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4187
4187
|
method: "typia.assert",
|
|
4188
4188
|
path: _path + "[\"in\"]",
|
|
4189
4189
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
@@ -4273,7 +4273,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4273
4273
|
path: _path + ".type",
|
|
4274
4274
|
expected: "\"apiKey\"",
|
|
4275
4275
|
value: input.type
|
|
4276
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
4276
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4277
4277
|
method: "typia.assert",
|
|
4278
4278
|
path: _path + "[\"in\"]",
|
|
4279
4279
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -6658,7 +6658,7 @@ function assertHttpLlmApplication(props) {
|
|
|
6658
6658
|
path: _path + ".name",
|
|
6659
6659
|
expected: "(string | undefined)",
|
|
6660
6660
|
value: input.name
|
|
6661
|
-
}, _errorFactory)) && ("path" === input["in"] || "
|
|
6661
|
+
}, _errorFactory)) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6662
6662
|
method: "typia.assert",
|
|
6663
6663
|
path: _path + "[\"in\"]",
|
|
6664
6664
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
@@ -7223,7 +7223,7 @@ function assertHttpLlmApplication(props) {
|
|
|
7223
7223
|
path: _path + ".type",
|
|
7224
7224
|
expected: "\"apiKey\"",
|
|
7225
7225
|
value: input.type
|
|
7226
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
7226
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7227
7227
|
method: "typia.assert",
|
|
7228
7228
|
path: _path + "[\"in\"]",
|
|
7229
7229
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -8488,7 +8488,7 @@ function assertHttpLlmApplication(props) {
|
|
|
8488
8488
|
path: _path + ".type",
|
|
8489
8489
|
expected: "\"apiKey\"",
|
|
8490
8490
|
value: input.type
|
|
8491
|
-
}, _errorFactory)) && (undefined === input["in"] || "
|
|
8491
|
+
}, _errorFactory)) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8492
8492
|
method: "typia.assert",
|
|
8493
8493
|
path: _path + "[\"in\"]",
|
|
8494
8494
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
@@ -8948,7 +8948,7 @@ function assertHttpLlmApplication(props) {
|
|
|
8948
8948
|
path: _path + ".name",
|
|
8949
8949
|
expected: "(string | undefined)",
|
|
8950
8950
|
value: input.name
|
|
8951
|
-
}, _errorFactory)) && ("path" === input["in"] || "
|
|
8951
|
+
}, _errorFactory)) && ("path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8952
8952
|
method: "typia.assert",
|
|
8953
8953
|
path: _path + "[\"in\"]",
|
|
8954
8954
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|