@orq-ai/node 4.15.0-rc.53 → 4.15.0-rc.54
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/FUNCTIONS.md +38 -3
- package/README.md +252 -71
- package/examples/deploymentsInvoke.example.ts +62 -0
- package/funcs/deploymentsInvoke.d.ts +18 -0
- package/funcs/deploymentsInvoke.d.ts.map +1 -0
- package/funcs/deploymentsInvoke.js +116 -0
- package/funcs/deploymentsInvoke.js.map +1 -0
- package/funcs/deploymentsStream.d.ts +18 -0
- package/funcs/deploymentsStream.d.ts.map +1 -0
- package/funcs/deploymentsStream.js +129 -0
- package/funcs/deploymentsStream.js.map +1 -0
- package/funcs/skillsUpdate.d.ts +1 -1
- package/funcs/skillsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentresponserequest.d.ts +8 -8
- package/models/components/agentresponserequest.d.ts.map +1 -1
- package/models/components/agentresponserequest.js +10 -9
- package/models/components/agentresponserequest.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +1544 -0
- package/models/components/invokedeploymentrequest.d.ts.map +1 -0
- package/models/components/invokedeploymentrequest.js +1109 -0
- package/models/components/invokedeploymentrequest.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/searchknowledgerequest.d.ts +176 -176
- package/models/components/searchknowledgerequest.d.ts.map +1 -1
- package/models/components/searchknowledgerequest.js +211 -222
- package/models/components/searchknowledgerequest.js.map +1 -1
- package/models/components/updatememorystorerequest.d.ts +5 -0
- package/models/components/updatememorystorerequest.d.ts.map +1 -1
- package/models/components/updatememorystorerequest.js +6 -0
- package/models/components/updatememorystorerequest.js.map +1 -1
- package/models/components/updateskillrequest.d.ts +1 -1
- package/models/operations/createchatcompletion.d.ts +58 -58
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +81 -80
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createprompt.d.ts +4 -4
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +5 -6
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deploymentgetconfig.d.ts +442 -442
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +481 -485
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +367 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -0
- package/models/operations/deploymentinvoke.js +373 -0
- package/models/operations/deploymentinvoke.js.map +1 -0
- package/models/operations/deployments.d.ts +16 -16
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -18
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1899 -0
- package/models/operations/deploymentstream.d.ts.map +1 -0
- package/models/operations/deploymentstream.js +1488 -0
- package/models/operations/deploymentstream.js.map +1 -0
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/sdk/deployments.d.ts +16 -0
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +20 -0
- package/sdk/deployments.js.map +1 -1
- package/sdk/skills.d.ts +1 -1
- package/sdk/skills.js +1 -1
- package/src/funcs/deploymentsInvoke.ts +170 -0
- package/src/funcs/deploymentsStream.ts +180 -0
- package/src/funcs/skillsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentresponserequest.ts +17 -12
- package/src/models/components/agentthoughtstreamingevent.ts +55 -43
- package/src/models/components/index.ts +1 -0
- package/src/models/components/invokedeploymentrequest.ts +3444 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/searchknowledgerequest.ts +680 -469
- package/src/models/components/updatememorystorerequest.ts +11 -0
- package/src/models/components/updateskillrequest.ts +1 -1
- package/src/models/operations/createchatcompletion.ts +313 -248
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createprompt.ts +7 -6
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deploymentgetconfig.ts +1631 -1141
- package/src/models/operations/deploymentinvoke.ts +732 -0
- package/src/models/operations/deployments.ts +46 -42
- package/src/models/operations/deploymentstream.ts +4102 -0
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/deployments.ts +38 -0
- package/src/sdk/skills.ts +1 -1
- package/examples/deploymentsList.example.ts +0 -26
|
@@ -36,51 +36,51 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.SearchKnowledgeRequest$outboundSchema = exports.SearchKnowledgeRequestAgenticRagConfig$outboundSchema = exports.AgenticRagConfig1$outboundSchema = exports.Two$outboundSchema = exports.FilterBy$outboundSchema = exports.
|
|
39
|
+
exports.SearchKnowledgeRequest$outboundSchema = exports.SearchKnowledgeRequestAgenticRagConfig$outboundSchema = exports.AgenticRagConfig1$outboundSchema = exports.Two$outboundSchema = exports.FilterBy$outboundSchema = exports.FilterBy1$outboundSchema = exports.SearchKnowledgeRequest1Eq$outboundSchema = exports.OneEq$outboundSchema = exports.SearchKnowledgeRequest1Ne$outboundSchema = exports.OneNe$outboundSchema = exports.OneGt$outboundSchema = exports.OneGte$outboundSchema = exports.OneLt$outboundSchema = exports.OneLte$outboundSchema = exports.SearchKnowledgeRequest1In$outboundSchema = exports.OneIn$outboundSchema = exports.SearchKnowledgeRequest1Nin$outboundSchema = exports.OneNin$outboundSchema = exports.Exists$outboundSchema = exports.SearchKnowledgeRequestFilterByAnd$outboundSchema = exports.FilterByAnd$outboundSchema = exports.SearchKnowledgeRequestAndFilterByEq$outboundSchema = exports.SearchKnowledgeRequestAndEq$outboundSchema = exports.SearchKnowledgeRequestAndFilterByNe$outboundSchema = exports.SearchKnowledgeRequestAndNe$outboundSchema = exports.SearchKnowledgeRequestAndGt$outboundSchema = exports.SearchKnowledgeRequestAndGte$outboundSchema = exports.SearchKnowledgeRequestAndLt$outboundSchema = exports.SearchKnowledgeRequestAndLte$outboundSchema = exports.SearchKnowledgeRequestAndFilterByIn$outboundSchema = exports.SearchKnowledgeRequestAndIn$outboundSchema = exports.SearchKnowledgeRequestAndFilterByNin$outboundSchema = exports.SearchKnowledgeRequestAndNin$outboundSchema = exports.AndExists$outboundSchema = exports.SearchKnowledgeRequestFilterByOr$outboundSchema = exports.FilterByOr$outboundSchema = exports.SearchKnowledgeRequestOrFilterByEq$outboundSchema = exports.SearchKnowledgeRequestOrEq$outboundSchema = exports.SearchKnowledgeRequestOrFilterByNe$outboundSchema = exports.SearchKnowledgeRequestOrNe$outboundSchema = exports.SearchKnowledgeRequestOrGt$outboundSchema = exports.SearchKnowledgeRequestOrGte$outboundSchema = exports.SearchKnowledgeRequestOrLt$outboundSchema = exports.SearchKnowledgeRequestOrLte$outboundSchema = exports.SearchKnowledgeRequestOrFilterByIn$outboundSchema = exports.SearchKnowledgeRequestOrIn$outboundSchema = exports.SearchKnowledgeRequestOrFilterByNin$outboundSchema = exports.SearchKnowledgeRequestOrNin$outboundSchema = exports.OrExists$outboundSchema = void 0;
|
|
40
40
|
exports.orExistsToJSON = orExistsToJSON;
|
|
41
|
-
exports.orNinToJSON = orNinToJSON;
|
|
42
41
|
exports.searchKnowledgeRequestOrNinToJSON = searchKnowledgeRequestOrNinToJSON;
|
|
43
|
-
exports.
|
|
42
|
+
exports.searchKnowledgeRequestOrFilterByNinToJSON = searchKnowledgeRequestOrFilterByNinToJSON;
|
|
44
43
|
exports.searchKnowledgeRequestOrInToJSON = searchKnowledgeRequestOrInToJSON;
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
44
|
+
exports.searchKnowledgeRequestOrFilterByInToJSON = searchKnowledgeRequestOrFilterByInToJSON;
|
|
45
|
+
exports.searchKnowledgeRequestOrLteToJSON = searchKnowledgeRequestOrLteToJSON;
|
|
46
|
+
exports.searchKnowledgeRequestOrLtToJSON = searchKnowledgeRequestOrLtToJSON;
|
|
47
|
+
exports.searchKnowledgeRequestOrGteToJSON = searchKnowledgeRequestOrGteToJSON;
|
|
48
|
+
exports.searchKnowledgeRequestOrGtToJSON = searchKnowledgeRequestOrGtToJSON;
|
|
50
49
|
exports.searchKnowledgeRequestOrNeToJSON = searchKnowledgeRequestOrNeToJSON;
|
|
51
|
-
exports.
|
|
50
|
+
exports.searchKnowledgeRequestOrFilterByNeToJSON = searchKnowledgeRequestOrFilterByNeToJSON;
|
|
52
51
|
exports.searchKnowledgeRequestOrEqToJSON = searchKnowledgeRequestOrEqToJSON;
|
|
53
|
-
exports.
|
|
52
|
+
exports.searchKnowledgeRequestOrFilterByEqToJSON = searchKnowledgeRequestOrFilterByEqToJSON;
|
|
54
53
|
exports.filterByOrToJSON = filterByOrToJSON;
|
|
54
|
+
exports.searchKnowledgeRequestFilterByOrToJSON = searchKnowledgeRequestFilterByOrToJSON;
|
|
55
55
|
exports.andExistsToJSON = andExistsToJSON;
|
|
56
|
-
exports.andNinToJSON = andNinToJSON;
|
|
57
56
|
exports.searchKnowledgeRequestAndNinToJSON = searchKnowledgeRequestAndNinToJSON;
|
|
58
|
-
exports.
|
|
57
|
+
exports.searchKnowledgeRequestAndFilterByNinToJSON = searchKnowledgeRequestAndFilterByNinToJSON;
|
|
59
58
|
exports.searchKnowledgeRequestAndInToJSON = searchKnowledgeRequestAndInToJSON;
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
59
|
+
exports.searchKnowledgeRequestAndFilterByInToJSON = searchKnowledgeRequestAndFilterByInToJSON;
|
|
60
|
+
exports.searchKnowledgeRequestAndLteToJSON = searchKnowledgeRequestAndLteToJSON;
|
|
61
|
+
exports.searchKnowledgeRequestAndLtToJSON = searchKnowledgeRequestAndLtToJSON;
|
|
62
|
+
exports.searchKnowledgeRequestAndGteToJSON = searchKnowledgeRequestAndGteToJSON;
|
|
63
|
+
exports.searchKnowledgeRequestAndGtToJSON = searchKnowledgeRequestAndGtToJSON;
|
|
65
64
|
exports.searchKnowledgeRequestAndNeToJSON = searchKnowledgeRequestAndNeToJSON;
|
|
66
|
-
exports.
|
|
65
|
+
exports.searchKnowledgeRequestAndFilterByNeToJSON = searchKnowledgeRequestAndFilterByNeToJSON;
|
|
67
66
|
exports.searchKnowledgeRequestAndEqToJSON = searchKnowledgeRequestAndEqToJSON;
|
|
68
|
-
exports.
|
|
67
|
+
exports.searchKnowledgeRequestAndFilterByEqToJSON = searchKnowledgeRequestAndFilterByEqToJSON;
|
|
69
68
|
exports.filterByAndToJSON = filterByAndToJSON;
|
|
69
|
+
exports.searchKnowledgeRequestFilterByAndToJSON = searchKnowledgeRequestFilterByAndToJSON;
|
|
70
70
|
exports.existsToJSON = existsToJSON;
|
|
71
|
-
exports.ninToJSON = ninToJSON;
|
|
72
71
|
exports.oneNinToJSON = oneNinToJSON;
|
|
73
|
-
exports.
|
|
72
|
+
exports.searchKnowledgeRequest1NinToJSON = searchKnowledgeRequest1NinToJSON;
|
|
74
73
|
exports.oneInToJSON = oneInToJSON;
|
|
75
|
-
exports.
|
|
76
|
-
exports.
|
|
77
|
-
exports.
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
74
|
+
exports.searchKnowledgeRequest1InToJSON = searchKnowledgeRequest1InToJSON;
|
|
75
|
+
exports.oneLteToJSON = oneLteToJSON;
|
|
76
|
+
exports.oneLtToJSON = oneLtToJSON;
|
|
77
|
+
exports.oneGteToJSON = oneGteToJSON;
|
|
78
|
+
exports.oneGtToJSON = oneGtToJSON;
|
|
80
79
|
exports.oneNeToJSON = oneNeToJSON;
|
|
81
|
-
exports.
|
|
80
|
+
exports.searchKnowledgeRequest1NeToJSON = searchKnowledgeRequest1NeToJSON;
|
|
82
81
|
exports.oneEqToJSON = oneEqToJSON;
|
|
83
|
-
exports.
|
|
82
|
+
exports.searchKnowledgeRequest1EqToJSON = searchKnowledgeRequest1EqToJSON;
|
|
83
|
+
exports.filterBy1ToJSON = filterBy1ToJSON;
|
|
84
84
|
exports.filterByToJSON = filterByToJSON;
|
|
85
85
|
exports.twoToJSON = twoToJSON;
|
|
86
86
|
exports.agenticRagConfig1ToJSON = agenticRagConfig1ToJSON;
|
|
@@ -100,113 +100,112 @@ function orExistsToJSON(orExists) {
|
|
|
100
100
|
return JSON.stringify(exports.OrExists$outboundSchema.parse(orExists));
|
|
101
101
|
}
|
|
102
102
|
/** @internal */
|
|
103
|
-
exports.
|
|
104
|
-
function
|
|
105
|
-
return JSON.stringify(exports.
|
|
103
|
+
exports.SearchKnowledgeRequestOrNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
104
|
+
function searchKnowledgeRequestOrNinToJSON(searchKnowledgeRequestOrNin) {
|
|
105
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrNin$outboundSchema.parse(searchKnowledgeRequestOrNin));
|
|
106
106
|
}
|
|
107
107
|
/** @internal */
|
|
108
|
-
exports.
|
|
108
|
+
exports.SearchKnowledgeRequestOrFilterByNin$outboundSchema = z.object({
|
|
109
109
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
110
110
|
});
|
|
111
|
-
function
|
|
112
|
-
return JSON.stringify(exports.
|
|
111
|
+
function searchKnowledgeRequestOrFilterByNinToJSON(searchKnowledgeRequestOrFilterByNin) {
|
|
112
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrFilterByNin$outboundSchema.parse(searchKnowledgeRequestOrFilterByNin));
|
|
113
113
|
}
|
|
114
114
|
/** @internal */
|
|
115
|
-
exports.
|
|
116
|
-
function
|
|
117
|
-
return JSON.stringify(exports.
|
|
115
|
+
exports.SearchKnowledgeRequestOrIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
116
|
+
function searchKnowledgeRequestOrInToJSON(searchKnowledgeRequestOrIn) {
|
|
117
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrIn$outboundSchema.parse(searchKnowledgeRequestOrIn));
|
|
118
118
|
}
|
|
119
119
|
/** @internal */
|
|
120
|
-
exports.
|
|
120
|
+
exports.SearchKnowledgeRequestOrFilterByIn$outboundSchema = z.object({
|
|
121
121
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
122
122
|
});
|
|
123
|
-
function
|
|
124
|
-
return JSON.stringify(exports.
|
|
123
|
+
function searchKnowledgeRequestOrFilterByInToJSON(searchKnowledgeRequestOrFilterByIn) {
|
|
124
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrFilterByIn$outboundSchema.parse(searchKnowledgeRequestOrFilterByIn));
|
|
125
125
|
}
|
|
126
126
|
/** @internal */
|
|
127
|
-
exports.
|
|
127
|
+
exports.SearchKnowledgeRequestOrLte$outboundSchema = z.object({
|
|
128
128
|
lte: z.number(),
|
|
129
129
|
});
|
|
130
|
-
function
|
|
131
|
-
return JSON.stringify(exports.
|
|
130
|
+
function searchKnowledgeRequestOrLteToJSON(searchKnowledgeRequestOrLte) {
|
|
131
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrLte$outboundSchema.parse(searchKnowledgeRequestOrLte));
|
|
132
132
|
}
|
|
133
133
|
/** @internal */
|
|
134
|
-
exports.
|
|
134
|
+
exports.SearchKnowledgeRequestOrLt$outboundSchema = z.object({
|
|
135
135
|
lt: z.number(),
|
|
136
136
|
});
|
|
137
|
-
function
|
|
138
|
-
return JSON.stringify(exports.
|
|
137
|
+
function searchKnowledgeRequestOrLtToJSON(searchKnowledgeRequestOrLt) {
|
|
138
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrLt$outboundSchema.parse(searchKnowledgeRequestOrLt));
|
|
139
139
|
}
|
|
140
140
|
/** @internal */
|
|
141
|
-
exports.
|
|
141
|
+
exports.SearchKnowledgeRequestOrGte$outboundSchema = z.object({
|
|
142
142
|
gte: z.number(),
|
|
143
143
|
});
|
|
144
|
-
function
|
|
145
|
-
return JSON.stringify(exports.
|
|
144
|
+
function searchKnowledgeRequestOrGteToJSON(searchKnowledgeRequestOrGte) {
|
|
145
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrGte$outboundSchema.parse(searchKnowledgeRequestOrGte));
|
|
146
146
|
}
|
|
147
147
|
/** @internal */
|
|
148
|
-
exports.
|
|
148
|
+
exports.SearchKnowledgeRequestOrGt$outboundSchema = z.object({
|
|
149
149
|
gt: z.number(),
|
|
150
150
|
});
|
|
151
|
-
function
|
|
152
|
-
return JSON.stringify(exports.
|
|
151
|
+
function searchKnowledgeRequestOrGtToJSON(searchKnowledgeRequestOrGt) {
|
|
152
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrGt$outboundSchema.parse(searchKnowledgeRequestOrGt));
|
|
153
153
|
}
|
|
154
154
|
/** @internal */
|
|
155
|
-
exports.
|
|
156
|
-
function
|
|
157
|
-
return JSON.stringify(exports.
|
|
155
|
+
exports.SearchKnowledgeRequestOrNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
156
|
+
function searchKnowledgeRequestOrNeToJSON(searchKnowledgeRequestOrNe) {
|
|
157
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrNe$outboundSchema.parse(searchKnowledgeRequestOrNe));
|
|
158
158
|
}
|
|
159
159
|
/** @internal */
|
|
160
|
-
exports.
|
|
160
|
+
exports.SearchKnowledgeRequestOrFilterByNe$outboundSchema = z.object({
|
|
161
161
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
162
162
|
});
|
|
163
|
-
function
|
|
164
|
-
return JSON.stringify(exports.
|
|
163
|
+
function searchKnowledgeRequestOrFilterByNeToJSON(searchKnowledgeRequestOrFilterByNe) {
|
|
164
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrFilterByNe$outboundSchema.parse(searchKnowledgeRequestOrFilterByNe));
|
|
165
165
|
}
|
|
166
166
|
/** @internal */
|
|
167
|
-
exports.
|
|
168
|
-
function
|
|
169
|
-
return JSON.stringify(exports.
|
|
167
|
+
exports.SearchKnowledgeRequestOrEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
168
|
+
function searchKnowledgeRequestOrEqToJSON(searchKnowledgeRequestOrEq) {
|
|
169
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrEq$outboundSchema.parse(searchKnowledgeRequestOrEq));
|
|
170
170
|
}
|
|
171
171
|
/** @internal */
|
|
172
|
-
exports.
|
|
172
|
+
exports.SearchKnowledgeRequestOrFilterByEq$outboundSchema = z.object({
|
|
173
173
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
174
174
|
});
|
|
175
|
-
function
|
|
176
|
-
return JSON.stringify(exports.
|
|
175
|
+
function searchKnowledgeRequestOrFilterByEqToJSON(searchKnowledgeRequestOrFilterByEq) {
|
|
176
|
+
return JSON.stringify(exports.SearchKnowledgeRequestOrFilterByEq$outboundSchema.parse(searchKnowledgeRequestOrFilterByEq));
|
|
177
177
|
}
|
|
178
178
|
/** @internal */
|
|
179
|
-
exports.
|
|
180
|
-
.
|
|
181
|
-
z.lazy(() => exports.
|
|
182
|
-
z.lazy(() => exports.
|
|
183
|
-
z.lazy(() => exports.
|
|
184
|
-
z.lazy(() => exports.
|
|
185
|
-
z.lazy(() => exports.
|
|
186
|
-
z.lazy(() => exports.
|
|
187
|
-
z.lazy(() => exports.
|
|
188
|
-
z.lazy(() => exports.SearchKnowledgeRequestOrNin$outboundSchema),
|
|
179
|
+
exports.FilterByOr$outboundSchema = z.union([
|
|
180
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByEq$outboundSchema),
|
|
181
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByNe$outboundSchema),
|
|
182
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrGt$outboundSchema),
|
|
183
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrGte$outboundSchema),
|
|
184
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrLt$outboundSchema),
|
|
185
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrLte$outboundSchema),
|
|
186
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByIn$outboundSchema),
|
|
187
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByNin$outboundSchema),
|
|
189
188
|
z.lazy(() => exports.OrExists$outboundSchema),
|
|
190
189
|
]);
|
|
191
|
-
function
|
|
192
|
-
return JSON.stringify(exports.
|
|
190
|
+
function filterByOrToJSON(filterByOr) {
|
|
191
|
+
return JSON.stringify(exports.FilterByOr$outboundSchema.parse(filterByOr));
|
|
193
192
|
}
|
|
194
193
|
/** @internal */
|
|
195
|
-
exports.
|
|
194
|
+
exports.SearchKnowledgeRequestFilterByOr$outboundSchema = z.object({
|
|
196
195
|
or: z.array(z.record(z.union([
|
|
197
|
-
z.lazy(() => exports.
|
|
198
|
-
z.lazy(() => exports.
|
|
199
|
-
z.lazy(() => exports.
|
|
200
|
-
z.lazy(() => exports.
|
|
201
|
-
z.lazy(() => exports.
|
|
202
|
-
z.lazy(() => exports.
|
|
203
|
-
z.lazy(() => exports.
|
|
204
|
-
z.lazy(() => exports.
|
|
196
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByEq$outboundSchema),
|
|
197
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByNe$outboundSchema),
|
|
198
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrGt$outboundSchema),
|
|
199
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrGte$outboundSchema),
|
|
200
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrLt$outboundSchema),
|
|
201
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrLte$outboundSchema),
|
|
202
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByIn$outboundSchema),
|
|
203
|
+
z.lazy(() => exports.SearchKnowledgeRequestOrFilterByNin$outboundSchema),
|
|
205
204
|
z.lazy(() => exports.OrExists$outboundSchema),
|
|
206
205
|
]))),
|
|
207
206
|
});
|
|
208
|
-
function
|
|
209
|
-
return JSON.stringify(exports.
|
|
207
|
+
function searchKnowledgeRequestFilterByOrToJSON(searchKnowledgeRequestFilterByOr) {
|
|
208
|
+
return JSON.stringify(exports.SearchKnowledgeRequestFilterByOr$outboundSchema.parse(searchKnowledgeRequestFilterByOr));
|
|
210
209
|
}
|
|
211
210
|
/** @internal */
|
|
212
211
|
exports.AndExists$outboundSchema = z.object({
|
|
@@ -216,113 +215,112 @@ function andExistsToJSON(andExists) {
|
|
|
216
215
|
return JSON.stringify(exports.AndExists$outboundSchema.parse(andExists));
|
|
217
216
|
}
|
|
218
217
|
/** @internal */
|
|
219
|
-
exports.
|
|
220
|
-
function
|
|
221
|
-
return JSON.stringify(exports.
|
|
218
|
+
exports.SearchKnowledgeRequestAndNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
219
|
+
function searchKnowledgeRequestAndNinToJSON(searchKnowledgeRequestAndNin) {
|
|
220
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndNin$outboundSchema.parse(searchKnowledgeRequestAndNin));
|
|
222
221
|
}
|
|
223
222
|
/** @internal */
|
|
224
|
-
exports.
|
|
223
|
+
exports.SearchKnowledgeRequestAndFilterByNin$outboundSchema = z.object({
|
|
225
224
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
226
225
|
});
|
|
227
|
-
function
|
|
228
|
-
return JSON.stringify(exports.
|
|
226
|
+
function searchKnowledgeRequestAndFilterByNinToJSON(searchKnowledgeRequestAndFilterByNin) {
|
|
227
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndFilterByNin$outboundSchema.parse(searchKnowledgeRequestAndFilterByNin));
|
|
229
228
|
}
|
|
230
229
|
/** @internal */
|
|
231
|
-
exports.
|
|
232
|
-
function
|
|
233
|
-
return JSON.stringify(exports.
|
|
230
|
+
exports.SearchKnowledgeRequestAndIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
231
|
+
function searchKnowledgeRequestAndInToJSON(searchKnowledgeRequestAndIn) {
|
|
232
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndIn$outboundSchema.parse(searchKnowledgeRequestAndIn));
|
|
234
233
|
}
|
|
235
234
|
/** @internal */
|
|
236
|
-
exports.
|
|
235
|
+
exports.SearchKnowledgeRequestAndFilterByIn$outboundSchema = z.object({
|
|
237
236
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
238
237
|
});
|
|
239
|
-
function
|
|
240
|
-
return JSON.stringify(exports.
|
|
238
|
+
function searchKnowledgeRequestAndFilterByInToJSON(searchKnowledgeRequestAndFilterByIn) {
|
|
239
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndFilterByIn$outboundSchema.parse(searchKnowledgeRequestAndFilterByIn));
|
|
241
240
|
}
|
|
242
241
|
/** @internal */
|
|
243
|
-
exports.
|
|
242
|
+
exports.SearchKnowledgeRequestAndLte$outboundSchema = z.object({
|
|
244
243
|
lte: z.number(),
|
|
245
244
|
});
|
|
246
|
-
function
|
|
247
|
-
return JSON.stringify(exports.
|
|
245
|
+
function searchKnowledgeRequestAndLteToJSON(searchKnowledgeRequestAndLte) {
|
|
246
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndLte$outboundSchema.parse(searchKnowledgeRequestAndLte));
|
|
248
247
|
}
|
|
249
248
|
/** @internal */
|
|
250
|
-
exports.
|
|
249
|
+
exports.SearchKnowledgeRequestAndLt$outboundSchema = z.object({
|
|
251
250
|
lt: z.number(),
|
|
252
251
|
});
|
|
253
|
-
function
|
|
254
|
-
return JSON.stringify(exports.
|
|
252
|
+
function searchKnowledgeRequestAndLtToJSON(searchKnowledgeRequestAndLt) {
|
|
253
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndLt$outboundSchema.parse(searchKnowledgeRequestAndLt));
|
|
255
254
|
}
|
|
256
255
|
/** @internal */
|
|
257
|
-
exports.
|
|
256
|
+
exports.SearchKnowledgeRequestAndGte$outboundSchema = z.object({
|
|
258
257
|
gte: z.number(),
|
|
259
258
|
});
|
|
260
|
-
function
|
|
261
|
-
return JSON.stringify(exports.
|
|
259
|
+
function searchKnowledgeRequestAndGteToJSON(searchKnowledgeRequestAndGte) {
|
|
260
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndGte$outboundSchema.parse(searchKnowledgeRequestAndGte));
|
|
262
261
|
}
|
|
263
262
|
/** @internal */
|
|
264
|
-
exports.
|
|
263
|
+
exports.SearchKnowledgeRequestAndGt$outboundSchema = z.object({
|
|
265
264
|
gt: z.number(),
|
|
266
265
|
});
|
|
267
|
-
function
|
|
268
|
-
return JSON.stringify(exports.
|
|
266
|
+
function searchKnowledgeRequestAndGtToJSON(searchKnowledgeRequestAndGt) {
|
|
267
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndGt$outboundSchema.parse(searchKnowledgeRequestAndGt));
|
|
269
268
|
}
|
|
270
269
|
/** @internal */
|
|
271
|
-
exports.
|
|
272
|
-
function
|
|
273
|
-
return JSON.stringify(exports.
|
|
270
|
+
exports.SearchKnowledgeRequestAndNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
271
|
+
function searchKnowledgeRequestAndNeToJSON(searchKnowledgeRequestAndNe) {
|
|
272
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndNe$outboundSchema.parse(searchKnowledgeRequestAndNe));
|
|
274
273
|
}
|
|
275
274
|
/** @internal */
|
|
276
|
-
exports.
|
|
275
|
+
exports.SearchKnowledgeRequestAndFilterByNe$outboundSchema = z.object({
|
|
277
276
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
278
277
|
});
|
|
279
|
-
function
|
|
280
|
-
return JSON.stringify(exports.
|
|
278
|
+
function searchKnowledgeRequestAndFilterByNeToJSON(searchKnowledgeRequestAndFilterByNe) {
|
|
279
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndFilterByNe$outboundSchema.parse(searchKnowledgeRequestAndFilterByNe));
|
|
281
280
|
}
|
|
282
281
|
/** @internal */
|
|
283
|
-
exports.
|
|
284
|
-
function
|
|
285
|
-
return JSON.stringify(exports.
|
|
282
|
+
exports.SearchKnowledgeRequestAndEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
283
|
+
function searchKnowledgeRequestAndEqToJSON(searchKnowledgeRequestAndEq) {
|
|
284
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndEq$outboundSchema.parse(searchKnowledgeRequestAndEq));
|
|
286
285
|
}
|
|
287
286
|
/** @internal */
|
|
288
|
-
exports.
|
|
287
|
+
exports.SearchKnowledgeRequestAndFilterByEq$outboundSchema = z.object({
|
|
289
288
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
290
289
|
});
|
|
291
|
-
function
|
|
292
|
-
return JSON.stringify(exports.
|
|
290
|
+
function searchKnowledgeRequestAndFilterByEqToJSON(searchKnowledgeRequestAndFilterByEq) {
|
|
291
|
+
return JSON.stringify(exports.SearchKnowledgeRequestAndFilterByEq$outboundSchema.parse(searchKnowledgeRequestAndFilterByEq));
|
|
293
292
|
}
|
|
294
293
|
/** @internal */
|
|
295
|
-
exports.
|
|
296
|
-
.
|
|
297
|
-
z.lazy(() => exports.
|
|
298
|
-
z.lazy(() => exports.
|
|
299
|
-
z.lazy(() => exports.
|
|
300
|
-
z.lazy(() => exports.
|
|
301
|
-
z.lazy(() => exports.
|
|
302
|
-
z.lazy(() => exports.
|
|
303
|
-
z.lazy(() => exports.
|
|
304
|
-
z.lazy(() => exports.SearchKnowledgeRequestAndNin$outboundSchema),
|
|
294
|
+
exports.FilterByAnd$outboundSchema = z.union([
|
|
295
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByEq$outboundSchema),
|
|
296
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByNe$outboundSchema),
|
|
297
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndGt$outboundSchema),
|
|
298
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndGte$outboundSchema),
|
|
299
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndLt$outboundSchema),
|
|
300
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndLte$outboundSchema),
|
|
301
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByIn$outboundSchema),
|
|
302
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByNin$outboundSchema),
|
|
305
303
|
z.lazy(() => exports.AndExists$outboundSchema),
|
|
306
304
|
]);
|
|
307
|
-
function
|
|
308
|
-
return JSON.stringify(exports.
|
|
305
|
+
function filterByAndToJSON(filterByAnd) {
|
|
306
|
+
return JSON.stringify(exports.FilterByAnd$outboundSchema.parse(filterByAnd));
|
|
309
307
|
}
|
|
310
308
|
/** @internal */
|
|
311
|
-
exports.
|
|
309
|
+
exports.SearchKnowledgeRequestFilterByAnd$outboundSchema = z.object({
|
|
312
310
|
and: z.array(z.record(z.union([
|
|
313
|
-
z.lazy(() => exports.
|
|
314
|
-
z.lazy(() => exports.
|
|
315
|
-
z.lazy(() => exports.
|
|
316
|
-
z.lazy(() => exports.
|
|
317
|
-
z.lazy(() => exports.
|
|
318
|
-
z.lazy(() => exports.
|
|
319
|
-
z.lazy(() => exports.
|
|
320
|
-
z.lazy(() => exports.
|
|
311
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByEq$outboundSchema),
|
|
312
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByNe$outboundSchema),
|
|
313
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndGt$outboundSchema),
|
|
314
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndGte$outboundSchema),
|
|
315
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndLt$outboundSchema),
|
|
316
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndLte$outboundSchema),
|
|
317
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByIn$outboundSchema),
|
|
318
|
+
z.lazy(() => exports.SearchKnowledgeRequestAndFilterByNin$outboundSchema),
|
|
321
319
|
z.lazy(() => exports.AndExists$outboundSchema),
|
|
322
320
|
]))),
|
|
323
321
|
});
|
|
324
|
-
function
|
|
325
|
-
return JSON.stringify(exports.
|
|
322
|
+
function searchKnowledgeRequestFilterByAndToJSON(searchKnowledgeRequestFilterByAnd) {
|
|
323
|
+
return JSON.stringify(exports.SearchKnowledgeRequestFilterByAnd$outboundSchema.parse(searchKnowledgeRequestFilterByAnd));
|
|
326
324
|
}
|
|
327
325
|
/** @internal */
|
|
328
326
|
exports.Exists$outboundSchema = z.object({
|
|
@@ -332,118 +330,109 @@ function existsToJSON(exists) {
|
|
|
332
330
|
return JSON.stringify(exports.Exists$outboundSchema.parse(exists));
|
|
333
331
|
}
|
|
334
332
|
/** @internal */
|
|
335
|
-
exports.
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
return JSON.stringify(exports.Nin$outboundSchema.parse(nin));
|
|
333
|
+
exports.OneNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
334
|
+
function oneNinToJSON(oneNin) {
|
|
335
|
+
return JSON.stringify(exports.OneNin$outboundSchema.parse(oneNin));
|
|
339
336
|
}
|
|
340
337
|
/** @internal */
|
|
341
|
-
exports.
|
|
338
|
+
exports.SearchKnowledgeRequest1Nin$outboundSchema = z.object({
|
|
342
339
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
343
340
|
});
|
|
344
|
-
function
|
|
345
|
-
return JSON.stringify(exports.
|
|
341
|
+
function searchKnowledgeRequest1NinToJSON(searchKnowledgeRequest1Nin) {
|
|
342
|
+
return JSON.stringify(exports.SearchKnowledgeRequest1Nin$outboundSchema.parse(searchKnowledgeRequest1Nin));
|
|
346
343
|
}
|
|
347
344
|
/** @internal */
|
|
348
|
-
exports.
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
return JSON.stringify(exports.In$outboundSchema.parse(value));
|
|
345
|
+
exports.OneIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
346
|
+
function oneInToJSON(oneIn) {
|
|
347
|
+
return JSON.stringify(exports.OneIn$outboundSchema.parse(oneIn));
|
|
352
348
|
}
|
|
353
349
|
/** @internal */
|
|
354
|
-
exports.
|
|
350
|
+
exports.SearchKnowledgeRequest1In$outboundSchema = z.object({
|
|
355
351
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
356
352
|
});
|
|
357
|
-
function
|
|
358
|
-
return JSON.stringify(exports.
|
|
353
|
+
function searchKnowledgeRequest1InToJSON(searchKnowledgeRequest1In) {
|
|
354
|
+
return JSON.stringify(exports.SearchKnowledgeRequest1In$outboundSchema.parse(searchKnowledgeRequest1In));
|
|
359
355
|
}
|
|
360
356
|
/** @internal */
|
|
361
|
-
exports.
|
|
362
|
-
.object({
|
|
357
|
+
exports.OneLte$outboundSchema = z.object({
|
|
363
358
|
lte: z.number(),
|
|
364
359
|
});
|
|
365
|
-
function
|
|
366
|
-
return JSON.stringify(exports.
|
|
360
|
+
function oneLteToJSON(oneLte) {
|
|
361
|
+
return JSON.stringify(exports.OneLte$outboundSchema.parse(oneLte));
|
|
367
362
|
}
|
|
368
363
|
/** @internal */
|
|
369
|
-
exports.
|
|
370
|
-
.object({
|
|
364
|
+
exports.OneLt$outboundSchema = z.object({
|
|
371
365
|
lt: z.number(),
|
|
372
366
|
});
|
|
373
|
-
function
|
|
374
|
-
return JSON.stringify(exports.
|
|
367
|
+
function oneLtToJSON(oneLt) {
|
|
368
|
+
return JSON.stringify(exports.OneLt$outboundSchema.parse(oneLt));
|
|
375
369
|
}
|
|
376
370
|
/** @internal */
|
|
377
|
-
exports.
|
|
378
|
-
.object({
|
|
371
|
+
exports.OneGte$outboundSchema = z.object({
|
|
379
372
|
gte: z.number(),
|
|
380
373
|
});
|
|
381
|
-
function
|
|
382
|
-
return JSON.stringify(exports.
|
|
374
|
+
function oneGteToJSON(oneGte) {
|
|
375
|
+
return JSON.stringify(exports.OneGte$outboundSchema.parse(oneGte));
|
|
383
376
|
}
|
|
384
377
|
/** @internal */
|
|
385
|
-
exports.
|
|
386
|
-
.object({
|
|
378
|
+
exports.OneGt$outboundSchema = z.object({
|
|
387
379
|
gt: z.number(),
|
|
388
380
|
});
|
|
389
|
-
function
|
|
390
|
-
return JSON.stringify(exports.
|
|
381
|
+
function oneGtToJSON(oneGt) {
|
|
382
|
+
return JSON.stringify(exports.OneGt$outboundSchema.parse(oneGt));
|
|
391
383
|
}
|
|
392
384
|
/** @internal */
|
|
393
|
-
exports.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
return JSON.stringify(exports.Ne$outboundSchema.parse(ne));
|
|
385
|
+
exports.OneNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
386
|
+
function oneNeToJSON(oneNe) {
|
|
387
|
+
return JSON.stringify(exports.OneNe$outboundSchema.parse(oneNe));
|
|
397
388
|
}
|
|
398
389
|
/** @internal */
|
|
399
|
-
exports.
|
|
390
|
+
exports.SearchKnowledgeRequest1Ne$outboundSchema = z.object({
|
|
400
391
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
401
392
|
});
|
|
402
|
-
function
|
|
403
|
-
return JSON.stringify(exports.
|
|
393
|
+
function searchKnowledgeRequest1NeToJSON(searchKnowledgeRequest1Ne) {
|
|
394
|
+
return JSON.stringify(exports.SearchKnowledgeRequest1Ne$outboundSchema.parse(searchKnowledgeRequest1Ne));
|
|
404
395
|
}
|
|
405
396
|
/** @internal */
|
|
406
|
-
exports.
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
return JSON.stringify(exports.Eq$outboundSchema.parse(eq));
|
|
397
|
+
exports.OneEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
398
|
+
function oneEqToJSON(oneEq) {
|
|
399
|
+
return JSON.stringify(exports.OneEq$outboundSchema.parse(oneEq));
|
|
410
400
|
}
|
|
411
401
|
/** @internal */
|
|
412
|
-
exports.
|
|
402
|
+
exports.SearchKnowledgeRequest1Eq$outboundSchema = z.object({
|
|
413
403
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
414
404
|
});
|
|
415
|
-
function
|
|
416
|
-
return JSON.stringify(exports.
|
|
405
|
+
function searchKnowledgeRequest1EqToJSON(searchKnowledgeRequest1Eq) {
|
|
406
|
+
return JSON.stringify(exports.SearchKnowledgeRequest1Eq$outboundSchema.parse(searchKnowledgeRequest1Eq));
|
|
417
407
|
}
|
|
418
408
|
/** @internal */
|
|
419
|
-
exports.
|
|
420
|
-
.
|
|
421
|
-
z.lazy(() => exports.
|
|
422
|
-
z.lazy(() => exports.
|
|
423
|
-
z.lazy(() => exports.
|
|
424
|
-
z.lazy(() => exports.
|
|
425
|
-
z.lazy(() => exports.
|
|
426
|
-
z.lazy(() => exports.
|
|
427
|
-
z.lazy(() => exports.
|
|
428
|
-
z.lazy(() => exports.OneNin$outboundSchema),
|
|
409
|
+
exports.FilterBy1$outboundSchema = z.union([
|
|
410
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Eq$outboundSchema),
|
|
411
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Ne$outboundSchema),
|
|
412
|
+
z.lazy(() => exports.OneGt$outboundSchema),
|
|
413
|
+
z.lazy(() => exports.OneGte$outboundSchema),
|
|
414
|
+
z.lazy(() => exports.OneLt$outboundSchema),
|
|
415
|
+
z.lazy(() => exports.OneLte$outboundSchema),
|
|
416
|
+
z.lazy(() => exports.SearchKnowledgeRequest1In$outboundSchema),
|
|
417
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Nin$outboundSchema),
|
|
429
418
|
z.lazy(() => exports.Exists$outboundSchema),
|
|
430
419
|
]);
|
|
431
|
-
function
|
|
432
|
-
return JSON.stringify(exports.
|
|
420
|
+
function filterBy1ToJSON(filterBy1) {
|
|
421
|
+
return JSON.stringify(exports.FilterBy1$outboundSchema.parse(filterBy1));
|
|
433
422
|
}
|
|
434
423
|
/** @internal */
|
|
435
424
|
exports.FilterBy$outboundSchema = z.union([
|
|
436
|
-
z.lazy(() => exports.
|
|
437
|
-
z.lazy(() => exports.
|
|
425
|
+
z.lazy(() => exports.SearchKnowledgeRequestFilterByAnd$outboundSchema),
|
|
426
|
+
z.lazy(() => exports.SearchKnowledgeRequestFilterByOr$outboundSchema),
|
|
438
427
|
z.record(z.union([
|
|
439
|
-
z.lazy(() => exports.
|
|
440
|
-
z.lazy(() => exports.
|
|
441
|
-
z.lazy(() => exports.
|
|
442
|
-
z.lazy(() => exports.
|
|
443
|
-
z.lazy(() => exports.
|
|
444
|
-
z.lazy(() => exports.
|
|
445
|
-
z.lazy(() => exports.
|
|
446
|
-
z.lazy(() => exports.
|
|
428
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Eq$outboundSchema),
|
|
429
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Ne$outboundSchema),
|
|
430
|
+
z.lazy(() => exports.OneGt$outboundSchema),
|
|
431
|
+
z.lazy(() => exports.OneGte$outboundSchema),
|
|
432
|
+
z.lazy(() => exports.OneLt$outboundSchema),
|
|
433
|
+
z.lazy(() => exports.OneLte$outboundSchema),
|
|
434
|
+
z.lazy(() => exports.SearchKnowledgeRequest1In$outboundSchema),
|
|
435
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Nin$outboundSchema),
|
|
447
436
|
z.lazy(() => exports.Exists$outboundSchema),
|
|
448
437
|
])),
|
|
449
438
|
]);
|
|
@@ -496,17 +485,17 @@ exports.SearchKnowledgeRequest$outboundSchema = z.object({
|
|
|
496
485
|
threshold: z.number().optional(),
|
|
497
486
|
searchType: searchtype_js_1.SearchType$outboundSchema.optional(),
|
|
498
487
|
filterBy: z.union([
|
|
499
|
-
z.lazy(() => exports.
|
|
500
|
-
z.lazy(() => exports.
|
|
488
|
+
z.lazy(() => exports.SearchKnowledgeRequestFilterByAnd$outboundSchema),
|
|
489
|
+
z.lazy(() => exports.SearchKnowledgeRequestFilterByOr$outboundSchema),
|
|
501
490
|
z.record(z.union([
|
|
502
|
-
z.lazy(() => exports.
|
|
503
|
-
z.lazy(() => exports.
|
|
504
|
-
z.lazy(() => exports.
|
|
505
|
-
z.lazy(() => exports.
|
|
506
|
-
z.lazy(() => exports.
|
|
507
|
-
z.lazy(() => exports.
|
|
508
|
-
z.lazy(() => exports.
|
|
509
|
-
z.lazy(() => exports.
|
|
491
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Eq$outboundSchema),
|
|
492
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Ne$outboundSchema),
|
|
493
|
+
z.lazy(() => exports.OneGt$outboundSchema),
|
|
494
|
+
z.lazy(() => exports.OneGte$outboundSchema),
|
|
495
|
+
z.lazy(() => exports.OneLt$outboundSchema),
|
|
496
|
+
z.lazy(() => exports.OneLte$outboundSchema),
|
|
497
|
+
z.lazy(() => exports.SearchKnowledgeRequest1In$outboundSchema),
|
|
498
|
+
z.lazy(() => exports.SearchKnowledgeRequest1Nin$outboundSchema),
|
|
510
499
|
z.lazy(() => exports.Exists$outboundSchema),
|
|
511
500
|
])),
|
|
512
501
|
]).optional(),
|