@agentica/core 0.29.6 → 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 +1 -0
- 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 +232 -285
- 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/initialize.js +1 -1
- package/lib/orchestrate/initialize.js.map +1 -1
- package/lib/orchestrate/select.js +1 -1
- 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 +1 -1
- package/prompts/json_parse_error.md +32 -0
- package/src/constants/AgenticaSystemPrompt.ts +2 -0
- 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
|
@@ -80,7 +80,7 @@ function validateHttpLlmApplication(props) {
|
|
|
80
80
|
if (undefined === value)
|
|
81
81
|
return true;
|
|
82
82
|
return "object" === typeof value && null !== value && _iu10(value);
|
|
83
|
-
}); const _io32 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
83
|
+
}); 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 => {
|
|
84
84
|
const value = input[key];
|
|
85
85
|
if (undefined === value)
|
|
86
86
|
return true;
|
|
@@ -140,7 +140,7 @@ function validateHttpLlmApplication(props) {
|
|
|
140
140
|
if (undefined === value)
|
|
141
141
|
return true;
|
|
142
142
|
return "object" === typeof value && null !== value && _io82(value);
|
|
143
|
-
}); const _io82 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "
|
|
143
|
+
}); 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 => {
|
|
144
144
|
const value = input[key];
|
|
145
145
|
if (undefined === value)
|
|
146
146
|
return true;
|
|
@@ -150,7 +150,7 @@ function validateHttpLlmApplication(props) {
|
|
|
150
150
|
if (undefined === value)
|
|
151
151
|
return true;
|
|
152
152
|
return "object" === typeof value && null !== value && _iu14(value);
|
|
153
|
-
}); const _io86 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
153
|
+
}); 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 => {
|
|
154
154
|
const value = input[key];
|
|
155
155
|
if (undefined === value)
|
|
156
156
|
return true;
|
|
@@ -185,7 +185,7 @@ function validateHttpLlmApplication(props) {
|
|
|
185
185
|
if (undefined === value)
|
|
186
186
|
return true;
|
|
187
187
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
|
|
188
|
-
}); 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"] || "
|
|
188
|
+
}); 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 => {
|
|
189
189
|
const value = input[key];
|
|
190
190
|
if (undefined === value)
|
|
191
191
|
return true;
|
|
@@ -225,7 +225,7 @@ function validateHttpLlmApplication(props) {
|
|
|
225
225
|
if (undefined === value)
|
|
226
226
|
return true;
|
|
227
227
|
return "object" === typeof value && null !== value && _iu21(value);
|
|
228
|
-
}); const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
228
|
+
}); 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 => {
|
|
229
229
|
const value = input[key];
|
|
230
230
|
if (undefined === value)
|
|
231
231
|
return true;
|
|
@@ -255,12 +255,12 @@ function validateHttpLlmApplication(props) {
|
|
|
255
255
|
if (undefined === value)
|
|
256
256
|
return true;
|
|
257
257
|
return "object" === typeof value && null !== value && _iu23(value);
|
|
258
|
-
}); const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "
|
|
258
|
+
}); 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 => {
|
|
259
259
|
const value = input[key];
|
|
260
260
|
if (undefined === value)
|
|
261
261
|
return true;
|
|
262
262
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
|
|
263
|
-
}); 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"] || "
|
|
263
|
+
}); 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 => {
|
|
264
264
|
const value = input[key];
|
|
265
265
|
if (undefined === value)
|
|
266
266
|
return true;
|
|
@@ -1992,7 +1992,7 @@ function validateHttpLlmApplication(props) {
|
|
|
1992
1992
|
path: _path + ".type",
|
|
1993
1993
|
expected: "\"apiKey\"",
|
|
1994
1994
|
value: input.type
|
|
1995
|
-
}), undefined === input["in"] || "
|
|
1995
|
+
}), undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
1996
1996
|
path: _path + "[\"in\"]",
|
|
1997
1997
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
1998
1998
|
value: input["in"]
|
|
@@ -3488,7 +3488,7 @@ function validateHttpLlmApplication(props) {
|
|
|
3488
3488
|
path: _path + ".name",
|
|
3489
3489
|
expected: "(string | undefined)",
|
|
3490
3490
|
value: input.name
|
|
3491
|
-
}), "path" === input["in"] || "
|
|
3491
|
+
}), "path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
3492
3492
|
path: _path + "[\"in\"]",
|
|
3493
3493
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
3494
3494
|
value: input["in"]
|
|
@@ -3562,7 +3562,7 @@ function validateHttpLlmApplication(props) {
|
|
|
3562
3562
|
path: _path + ".type",
|
|
3563
3563
|
expected: "\"apiKey\"",
|
|
3564
3564
|
value: input.type
|
|
3565
|
-
}), undefined === input["in"] || "
|
|
3565
|
+
}), undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
3566
3566
|
path: _path + "[\"in\"]",
|
|
3567
3567
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
3568
3568
|
value: input["in"]
|
|
@@ -5477,7 +5477,7 @@ function validateHttpLlmApplication(props) {
|
|
|
5477
5477
|
path: _path + ".name",
|
|
5478
5478
|
expected: "(string | undefined)",
|
|
5479
5479
|
value: input.name
|
|
5480
|
-
}), "path" === input["in"] || "
|
|
5480
|
+
}), "path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
5481
5481
|
path: _path + "[\"in\"]",
|
|
5482
5482
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
5483
5483
|
value: input["in"]
|
|
@@ -5937,7 +5937,7 @@ function validateHttpLlmApplication(props) {
|
|
|
5937
5937
|
path: _path + ".type",
|
|
5938
5938
|
expected: "\"apiKey\"",
|
|
5939
5939
|
value: input.type
|
|
5940
|
-
}), undefined === input["in"] || "
|
|
5940
|
+
}), undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
5941
5941
|
path: _path + "[\"in\"]",
|
|
5942
5942
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
5943
5943
|
value: input["in"]
|
|
@@ -6955,7 +6955,7 @@ function validateHttpLlmApplication(props) {
|
|
|
6955
6955
|
path: _path + ".type",
|
|
6956
6956
|
expected: "\"apiKey\"",
|
|
6957
6957
|
value: input.type
|
|
6958
|
-
}), undefined === input["in"] || "
|
|
6958
|
+
}), undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
6959
6959
|
path: _path + "[\"in\"]",
|
|
6960
6960
|
expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
|
|
6961
6961
|
value: input["in"]
|
|
@@ -7324,7 +7324,7 @@ function validateHttpLlmApplication(props) {
|
|
|
7324
7324
|
path: _path + ".name",
|
|
7325
7325
|
expected: "(string | undefined)",
|
|
7326
7326
|
value: input.name
|
|
7327
|
-
}), "path" === input["in"] || "
|
|
7327
|
+
}), "path" === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || _report(_exceptionable, {
|
|
7328
7328
|
path: _path + "[\"in\"]",
|
|
7329
7329
|
expected: "(\"cookie\" | \"header\" | \"path\" | \"query\")",
|
|
7330
7330
|
value: input["in"]
|