@orq-ai/node 3.5.21 → 3.5.23
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/bin/mcp-server.js +1018 -971
- package/bin/mcp-server.js.map +33 -24
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/package.json +2 -2
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +6 -6
- package/packages/orq-rc/package.json +2 -2
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +1217 -1677
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +416 -12
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +410 -13
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +400 -12
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1413 -1729
- package/packages/orq-rc/src/models/operations/deployments.ts +211 -23
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1314 -1761
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +200 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +195 -6
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +204 -6
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +207 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +202 -6
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +204 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +1334 -1750
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +412 -14
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateprompt.ts +400 -12
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
|
@@ -11,110 +11,98 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* Exists
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
15
|
-
|
|
14
|
+
export type SearchKnowledgeOrExists = {
|
|
15
|
+
exists: boolean;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
export type
|
|
19
|
-
| string
|
|
20
|
-
| number
|
|
21
|
-
| boolean;
|
|
18
|
+
export type SearchKnowledgeOrKnowledgeNin = string | number | boolean;
|
|
22
19
|
|
|
23
20
|
/**
|
|
24
21
|
* Not in
|
|
25
22
|
*/
|
|
26
|
-
export type
|
|
27
|
-
|
|
23
|
+
export type SearchKnowledgeOrNin = {
|
|
24
|
+
nin: Array<string | number | boolean>;
|
|
28
25
|
};
|
|
29
26
|
|
|
30
|
-
export type
|
|
31
|
-
| string
|
|
32
|
-
| number
|
|
33
|
-
| boolean;
|
|
27
|
+
export type SearchKnowledgeOrKnowledgeIn = string | number | boolean;
|
|
34
28
|
|
|
35
29
|
/**
|
|
36
30
|
* In
|
|
37
31
|
*/
|
|
38
|
-
export type
|
|
39
|
-
|
|
32
|
+
export type SearchKnowledgeOrIn = {
|
|
33
|
+
in: Array<string | number | boolean>;
|
|
40
34
|
};
|
|
41
35
|
|
|
42
36
|
/**
|
|
43
37
|
* Less than or equal to
|
|
44
38
|
*/
|
|
45
|
-
export type
|
|
46
|
-
|
|
39
|
+
export type SearchKnowledgeOrLte = {
|
|
40
|
+
lte: number;
|
|
47
41
|
};
|
|
48
42
|
|
|
49
43
|
/**
|
|
50
44
|
* Less than
|
|
51
45
|
*/
|
|
52
|
-
export type
|
|
53
|
-
|
|
46
|
+
export type SearchKnowledgeOrLt = {
|
|
47
|
+
lt: number;
|
|
54
48
|
};
|
|
55
49
|
|
|
56
50
|
/**
|
|
57
51
|
* Greater than or equal to
|
|
58
52
|
*/
|
|
59
|
-
export type
|
|
60
|
-
|
|
53
|
+
export type SearchKnowledgeOrGte = {
|
|
54
|
+
gte: number;
|
|
61
55
|
};
|
|
62
56
|
|
|
63
|
-
export type
|
|
64
|
-
|
|
57
|
+
export type SearchKnowledgeOr3 = {
|
|
58
|
+
gt: number;
|
|
65
59
|
};
|
|
66
60
|
|
|
67
|
-
export type
|
|
68
|
-
| string
|
|
69
|
-
| number
|
|
70
|
-
| boolean;
|
|
61
|
+
export type SearchKnowledgeOrKnowledgeNe = string | number | boolean;
|
|
71
62
|
|
|
72
63
|
/**
|
|
73
64
|
* Not equal to
|
|
74
65
|
*/
|
|
75
|
-
export type
|
|
76
|
-
|
|
66
|
+
export type SearchKnowledgeOrNe = {
|
|
67
|
+
ne: string | number | boolean;
|
|
77
68
|
};
|
|
78
69
|
|
|
79
|
-
export type
|
|
80
|
-
| string
|
|
81
|
-
| number
|
|
82
|
-
| boolean;
|
|
70
|
+
export type SearchKnowledgeOrKnowledgeEq = string | number | boolean;
|
|
83
71
|
|
|
84
72
|
/**
|
|
85
73
|
* Equal to
|
|
86
74
|
*/
|
|
87
|
-
export type
|
|
88
|
-
|
|
75
|
+
export type SearchKnowledgeOrEq = {
|
|
76
|
+
eq: string | number | boolean;
|
|
89
77
|
};
|
|
90
78
|
|
|
91
|
-
export type
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
95
|
-
|
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
|
79
|
+
export type SearchKnowledgeFilterByOr =
|
|
80
|
+
| SearchKnowledgeOrEq
|
|
81
|
+
| SearchKnowledgeOrNe
|
|
82
|
+
| SearchKnowledgeOr3
|
|
83
|
+
| SearchKnowledgeOrGte
|
|
84
|
+
| SearchKnowledgeOrLt
|
|
85
|
+
| SearchKnowledgeOrLte
|
|
86
|
+
| SearchKnowledgeOrIn
|
|
87
|
+
| SearchKnowledgeOrNin
|
|
88
|
+
| SearchKnowledgeOrExists;
|
|
101
89
|
|
|
102
90
|
/**
|
|
103
91
|
* Or
|
|
104
92
|
*/
|
|
105
|
-
export type
|
|
106
|
-
|
|
93
|
+
export type FilterByOr = {
|
|
94
|
+
or: Array<
|
|
107
95
|
{
|
|
108
96
|
[k: string]:
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
97
|
+
| SearchKnowledgeOrEq
|
|
98
|
+
| SearchKnowledgeOrNe
|
|
99
|
+
| SearchKnowledgeOr3
|
|
100
|
+
| SearchKnowledgeOrGte
|
|
101
|
+
| SearchKnowledgeOrLt
|
|
102
|
+
| SearchKnowledgeOrLte
|
|
103
|
+
| SearchKnowledgeOrIn
|
|
104
|
+
| SearchKnowledgeOrNin
|
|
105
|
+
| SearchKnowledgeOrExists;
|
|
118
106
|
}
|
|
119
107
|
>;
|
|
120
108
|
};
|
|
@@ -122,110 +110,98 @@ export type FilterDollarOr = {
|
|
|
122
110
|
/**
|
|
123
111
|
* Exists
|
|
124
112
|
*/
|
|
125
|
-
export type
|
|
126
|
-
|
|
113
|
+
export type SearchKnowledgeAndExists = {
|
|
114
|
+
exists: boolean;
|
|
127
115
|
};
|
|
128
116
|
|
|
129
|
-
export type
|
|
130
|
-
| string
|
|
131
|
-
| number
|
|
132
|
-
| boolean;
|
|
117
|
+
export type SearchKnowledgeAndKnowledgeNin = string | number | boolean;
|
|
133
118
|
|
|
134
119
|
/**
|
|
135
120
|
* Not in
|
|
136
121
|
*/
|
|
137
|
-
export type
|
|
138
|
-
|
|
122
|
+
export type SearchKnowledgeAndNin = {
|
|
123
|
+
nin: Array<string | number | boolean>;
|
|
139
124
|
};
|
|
140
125
|
|
|
141
|
-
export type
|
|
142
|
-
| string
|
|
143
|
-
| number
|
|
144
|
-
| boolean;
|
|
126
|
+
export type SearchKnowledgeAndKnowledgeIn = string | number | boolean;
|
|
145
127
|
|
|
146
128
|
/**
|
|
147
129
|
* In
|
|
148
130
|
*/
|
|
149
|
-
export type
|
|
150
|
-
|
|
131
|
+
export type SearchKnowledgeAndIn = {
|
|
132
|
+
in: Array<string | number | boolean>;
|
|
151
133
|
};
|
|
152
134
|
|
|
153
135
|
/**
|
|
154
136
|
* Less than or equal to
|
|
155
137
|
*/
|
|
156
|
-
export type
|
|
157
|
-
|
|
138
|
+
export type SearchKnowledgeAndLte = {
|
|
139
|
+
lte: number;
|
|
158
140
|
};
|
|
159
141
|
|
|
160
142
|
/**
|
|
161
143
|
* Less than
|
|
162
144
|
*/
|
|
163
|
-
export type
|
|
164
|
-
|
|
145
|
+
export type SearchKnowledgeAndLt = {
|
|
146
|
+
lt: number;
|
|
165
147
|
};
|
|
166
148
|
|
|
167
149
|
/**
|
|
168
150
|
* Greater than or equal to
|
|
169
151
|
*/
|
|
170
|
-
export type
|
|
171
|
-
|
|
152
|
+
export type SearchKnowledgeAndGte = {
|
|
153
|
+
gte: number;
|
|
172
154
|
};
|
|
173
155
|
|
|
174
|
-
export type
|
|
175
|
-
|
|
156
|
+
export type SearchKnowledgeAnd3 = {
|
|
157
|
+
gt: number;
|
|
176
158
|
};
|
|
177
159
|
|
|
178
|
-
export type
|
|
179
|
-
| string
|
|
180
|
-
| number
|
|
181
|
-
| boolean;
|
|
160
|
+
export type SearchKnowledgeAndKnowledgeNe = string | number | boolean;
|
|
182
161
|
|
|
183
162
|
/**
|
|
184
163
|
* Not equal to
|
|
185
164
|
*/
|
|
186
|
-
export type
|
|
187
|
-
|
|
165
|
+
export type SearchKnowledgeAndNe = {
|
|
166
|
+
ne: string | number | boolean;
|
|
188
167
|
};
|
|
189
168
|
|
|
190
|
-
export type
|
|
191
|
-
| string
|
|
192
|
-
| number
|
|
193
|
-
| boolean;
|
|
169
|
+
export type SearchKnowledgeAndKnowledgeEq = string | number | boolean;
|
|
194
170
|
|
|
195
171
|
/**
|
|
196
172
|
* Equal to
|
|
197
173
|
*/
|
|
198
|
-
export type
|
|
199
|
-
|
|
174
|
+
export type SearchKnowledgeAndEq = {
|
|
175
|
+
eq: string | number | boolean;
|
|
200
176
|
};
|
|
201
177
|
|
|
202
|
-
export type
|
|
203
|
-
|
|
|
204
|
-
|
|
|
205
|
-
|
|
|
206
|
-
|
|
|
207
|
-
|
|
|
208
|
-
|
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
|
|
|
178
|
+
export type SearchKnowledgeFilterByAnd =
|
|
179
|
+
| SearchKnowledgeAndEq
|
|
180
|
+
| SearchKnowledgeAndNe
|
|
181
|
+
| SearchKnowledgeAnd3
|
|
182
|
+
| SearchKnowledgeAndGte
|
|
183
|
+
| SearchKnowledgeAndLt
|
|
184
|
+
| SearchKnowledgeAndLte
|
|
185
|
+
| SearchKnowledgeAndIn
|
|
186
|
+
| SearchKnowledgeAndNin
|
|
187
|
+
| SearchKnowledgeAndExists;
|
|
212
188
|
|
|
213
189
|
/**
|
|
214
190
|
* And
|
|
215
191
|
*/
|
|
216
|
-
export type
|
|
217
|
-
|
|
192
|
+
export type FilterByAnd = {
|
|
193
|
+
and: Array<
|
|
218
194
|
{
|
|
219
195
|
[k: string]:
|
|
220
|
-
|
|
|
221
|
-
|
|
|
222
|
-
|
|
|
223
|
-
|
|
|
224
|
-
|
|
|
225
|
-
|
|
|
226
|
-
|
|
|
227
|
-
|
|
|
228
|
-
|
|
|
196
|
+
| SearchKnowledgeAndEq
|
|
197
|
+
| SearchKnowledgeAndNe
|
|
198
|
+
| SearchKnowledgeAnd3
|
|
199
|
+
| SearchKnowledgeAndGte
|
|
200
|
+
| SearchKnowledgeAndLt
|
|
201
|
+
| SearchKnowledgeAndLte
|
|
202
|
+
| SearchKnowledgeAndIn
|
|
203
|
+
| SearchKnowledgeAndNin
|
|
204
|
+
| SearchKnowledgeAndExists;
|
|
229
205
|
}
|
|
230
206
|
>;
|
|
231
207
|
};
|
|
@@ -233,96 +209,96 @@ export type FilterDollarAnd = {
|
|
|
233
209
|
/**
|
|
234
210
|
* Exists
|
|
235
211
|
*/
|
|
236
|
-
export type
|
|
237
|
-
|
|
212
|
+
export type SearchKnowledge1Exists = {
|
|
213
|
+
exists: boolean;
|
|
238
214
|
};
|
|
239
215
|
|
|
240
|
-
export type
|
|
216
|
+
export type SearchKnowledge1KnowledgeNin = string | number | boolean;
|
|
241
217
|
|
|
242
218
|
/**
|
|
243
219
|
* Not in
|
|
244
220
|
*/
|
|
245
|
-
export type
|
|
246
|
-
|
|
221
|
+
export type SearchKnowledge1Nin = {
|
|
222
|
+
nin: Array<string | number | boolean>;
|
|
247
223
|
};
|
|
248
224
|
|
|
249
|
-
export type
|
|
225
|
+
export type SearchKnowledge1KnowledgeIn = string | number | boolean;
|
|
250
226
|
|
|
251
227
|
/**
|
|
252
228
|
* In
|
|
253
229
|
*/
|
|
254
|
-
export type
|
|
255
|
-
|
|
230
|
+
export type SearchKnowledge1In = {
|
|
231
|
+
in: Array<string | number | boolean>;
|
|
256
232
|
};
|
|
257
233
|
|
|
258
234
|
/**
|
|
259
235
|
* Less than or equal to
|
|
260
236
|
*/
|
|
261
|
-
export type
|
|
262
|
-
|
|
237
|
+
export type SearchKnowledge1Lte = {
|
|
238
|
+
lte: number;
|
|
263
239
|
};
|
|
264
240
|
|
|
265
241
|
/**
|
|
266
242
|
* Less than
|
|
267
243
|
*/
|
|
268
|
-
export type
|
|
269
|
-
|
|
244
|
+
export type SearchKnowledge1Lt = {
|
|
245
|
+
lt: number;
|
|
270
246
|
};
|
|
271
247
|
|
|
272
248
|
/**
|
|
273
249
|
* Greater than or equal to
|
|
274
250
|
*/
|
|
275
|
-
export type
|
|
276
|
-
|
|
251
|
+
export type SearchKnowledge1Gte = {
|
|
252
|
+
gte: number;
|
|
277
253
|
};
|
|
278
254
|
|
|
279
255
|
export type SearchKnowledge13 = {
|
|
280
|
-
|
|
256
|
+
gt: number;
|
|
281
257
|
};
|
|
282
258
|
|
|
283
|
-
export type
|
|
259
|
+
export type SearchKnowledge1KnowledgeNe = string | number | boolean;
|
|
284
260
|
|
|
285
261
|
/**
|
|
286
262
|
* Not equal to
|
|
287
263
|
*/
|
|
288
|
-
export type
|
|
289
|
-
|
|
264
|
+
export type SearchKnowledge1Ne = {
|
|
265
|
+
ne: string | number | boolean;
|
|
290
266
|
};
|
|
291
267
|
|
|
292
|
-
export type
|
|
268
|
+
export type SearchKnowledge1KnowledgeEq = string | number | boolean;
|
|
293
269
|
|
|
294
270
|
/**
|
|
295
271
|
* Equal to
|
|
296
272
|
*/
|
|
297
|
-
export type
|
|
298
|
-
|
|
273
|
+
export type SearchKnowledge1Eq = {
|
|
274
|
+
eq: string | number | boolean;
|
|
299
275
|
};
|
|
300
276
|
|
|
301
|
-
export type
|
|
302
|
-
|
|
|
303
|
-
|
|
|
277
|
+
export type FilterBy1 =
|
|
278
|
+
| SearchKnowledge1Eq
|
|
279
|
+
| SearchKnowledge1Ne
|
|
304
280
|
| SearchKnowledge13
|
|
305
|
-
|
|
|
306
|
-
|
|
|
307
|
-
|
|
|
308
|
-
|
|
|
309
|
-
|
|
|
310
|
-
|
|
|
281
|
+
| SearchKnowledge1Gte
|
|
282
|
+
| SearchKnowledge1Lt
|
|
283
|
+
| SearchKnowledge1Lte
|
|
284
|
+
| SearchKnowledge1In
|
|
285
|
+
| SearchKnowledge1Nin
|
|
286
|
+
| SearchKnowledge1Exists;
|
|
311
287
|
|
|
312
288
|
/**
|
|
313
|
-
* The filter to apply to the search
|
|
289
|
+
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://dash.readme.com/project/orqai/v2.0/docs/searching-a-knowledge-base) for more information.
|
|
314
290
|
*/
|
|
315
|
-
export type
|
|
291
|
+
export type FilterBy = FilterByAnd | FilterByOr | {
|
|
316
292
|
[k: string]:
|
|
317
|
-
|
|
|
318
|
-
|
|
|
293
|
+
| SearchKnowledge1Eq
|
|
294
|
+
| SearchKnowledge1Ne
|
|
319
295
|
| SearchKnowledge13
|
|
320
|
-
|
|
|
321
|
-
|
|
|
322
|
-
|
|
|
323
|
-
|
|
|
324
|
-
|
|
|
325
|
-
|
|
|
296
|
+
| SearchKnowledge1Gte
|
|
297
|
+
| SearchKnowledge1Lt
|
|
298
|
+
| SearchKnowledge1Lte
|
|
299
|
+
| SearchKnowledge1In
|
|
300
|
+
| SearchKnowledge1Nin
|
|
301
|
+
| SearchKnowledge1Exists;
|
|
326
302
|
};
|
|
327
303
|
|
|
328
304
|
/**
|
|
@@ -360,19 +336,19 @@ export type SearchKnowledgeRequestBody = {
|
|
|
360
336
|
*/
|
|
361
337
|
threshold?: number | undefined;
|
|
362
338
|
/**
|
|
363
|
-
* The filter to apply to the search
|
|
339
|
+
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://dash.readme.com/project/orqai/v2.0/docs/searching-a-knowledge-base) for more information.
|
|
364
340
|
*/
|
|
365
|
-
|
|
341
|
+
filterBy?: FilterByAnd | FilterByOr | {
|
|
366
342
|
[k: string]:
|
|
367
|
-
|
|
|
368
|
-
|
|
|
343
|
+
| SearchKnowledge1Eq
|
|
344
|
+
| SearchKnowledge1Ne
|
|
369
345
|
| SearchKnowledge13
|
|
370
|
-
|
|
|
371
|
-
|
|
|
372
|
-
|
|
|
373
|
-
|
|
|
374
|
-
|
|
|
375
|
-
|
|
|
346
|
+
| SearchKnowledge1Gte
|
|
347
|
+
| SearchKnowledge1Lt
|
|
348
|
+
| SearchKnowledge1Lte
|
|
349
|
+
| SearchKnowledge1In
|
|
350
|
+
| SearchKnowledge1Nin
|
|
351
|
+
| SearchKnowledge1Exists;
|
|
376
352
|
} | undefined;
|
|
377
353
|
/**
|
|
378
354
|
* Additional search options
|
|
@@ -412,2499 +388,2134 @@ export type SearchKnowledgeResponseBody = {
|
|
|
412
388
|
};
|
|
413
389
|
|
|
414
390
|
/** @internal */
|
|
415
|
-
export const
|
|
416
|
-
|
|
391
|
+
export const SearchKnowledgeOrExists$inboundSchema: z.ZodType<
|
|
392
|
+
SearchKnowledgeOrExists,
|
|
417
393
|
z.ZodTypeDef,
|
|
418
394
|
unknown
|
|
419
395
|
> = z.object({
|
|
420
|
-
|
|
421
|
-
}).transform((v) => {
|
|
422
|
-
return remap$(v, {
|
|
423
|
-
"$exists": "dollarExists",
|
|
424
|
-
});
|
|
396
|
+
exists: z.boolean(),
|
|
425
397
|
});
|
|
426
398
|
|
|
427
399
|
/** @internal */
|
|
428
|
-
export type
|
|
429
|
-
|
|
400
|
+
export type SearchKnowledgeOrExists$Outbound = {
|
|
401
|
+
exists: boolean;
|
|
430
402
|
};
|
|
431
403
|
|
|
432
404
|
/** @internal */
|
|
433
|
-
export const
|
|
434
|
-
|
|
405
|
+
export const SearchKnowledgeOrExists$outboundSchema: z.ZodType<
|
|
406
|
+
SearchKnowledgeOrExists$Outbound,
|
|
435
407
|
z.ZodTypeDef,
|
|
436
|
-
|
|
408
|
+
SearchKnowledgeOrExists
|
|
437
409
|
> = z.object({
|
|
438
|
-
|
|
439
|
-
}).transform((v) => {
|
|
440
|
-
return remap$(v, {
|
|
441
|
-
dollarExists: "$exists",
|
|
442
|
-
});
|
|
410
|
+
exists: z.boolean(),
|
|
443
411
|
});
|
|
444
412
|
|
|
445
413
|
/**
|
|
446
414
|
* @internal
|
|
447
415
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
448
416
|
*/
|
|
449
|
-
export namespace
|
|
450
|
-
/** @deprecated use `
|
|
451
|
-
export const inboundSchema =
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
/** @deprecated use `SearchKnowledgeDollarOrDollarExists$Outbound` instead. */
|
|
457
|
-
export type Outbound = SearchKnowledgeDollarOrDollarExists$Outbound;
|
|
417
|
+
export namespace SearchKnowledgeOrExists$ {
|
|
418
|
+
/** @deprecated use `SearchKnowledgeOrExists$inboundSchema` instead. */
|
|
419
|
+
export const inboundSchema = SearchKnowledgeOrExists$inboundSchema;
|
|
420
|
+
/** @deprecated use `SearchKnowledgeOrExists$outboundSchema` instead. */
|
|
421
|
+
export const outboundSchema = SearchKnowledgeOrExists$outboundSchema;
|
|
422
|
+
/** @deprecated use `SearchKnowledgeOrExists$Outbound` instead. */
|
|
423
|
+
export type Outbound = SearchKnowledgeOrExists$Outbound;
|
|
458
424
|
}
|
|
459
425
|
|
|
460
|
-
export function
|
|
461
|
-
|
|
426
|
+
export function searchKnowledgeOrExistsToJSON(
|
|
427
|
+
searchKnowledgeOrExists: SearchKnowledgeOrExists,
|
|
462
428
|
): string {
|
|
463
429
|
return JSON.stringify(
|
|
464
|
-
|
|
465
|
-
searchKnowledgeDollarOrDollarExists,
|
|
466
|
-
),
|
|
430
|
+
SearchKnowledgeOrExists$outboundSchema.parse(searchKnowledgeOrExists),
|
|
467
431
|
);
|
|
468
432
|
}
|
|
469
433
|
|
|
470
|
-
export function
|
|
434
|
+
export function searchKnowledgeOrExistsFromJSON(
|
|
471
435
|
jsonString: string,
|
|
472
|
-
): SafeParseResult<
|
|
436
|
+
): SafeParseResult<SearchKnowledgeOrExists, SDKValidationError> {
|
|
473
437
|
return safeParse(
|
|
474
438
|
jsonString,
|
|
475
|
-
(x) =>
|
|
476
|
-
|
|
477
|
-
`Failed to parse 'SearchKnowledgeDollarOrDollarExists' from JSON`,
|
|
439
|
+
(x) => SearchKnowledgeOrExists$inboundSchema.parse(JSON.parse(x)),
|
|
440
|
+
`Failed to parse 'SearchKnowledgeOrExists' from JSON`,
|
|
478
441
|
);
|
|
479
442
|
}
|
|
480
443
|
|
|
481
444
|
/** @internal */
|
|
482
|
-
export const
|
|
483
|
-
|
|
445
|
+
export const SearchKnowledgeOrKnowledgeNin$inboundSchema: z.ZodType<
|
|
446
|
+
SearchKnowledgeOrKnowledgeNin,
|
|
484
447
|
z.ZodTypeDef,
|
|
485
448
|
unknown
|
|
486
449
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
487
450
|
|
|
488
451
|
/** @internal */
|
|
489
|
-
export type
|
|
490
|
-
| string
|
|
491
|
-
| number
|
|
492
|
-
| boolean;
|
|
452
|
+
export type SearchKnowledgeOrKnowledgeNin$Outbound = string | number | boolean;
|
|
493
453
|
|
|
494
454
|
/** @internal */
|
|
495
|
-
export const
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
455
|
+
export const SearchKnowledgeOrKnowledgeNin$outboundSchema: z.ZodType<
|
|
456
|
+
SearchKnowledgeOrKnowledgeNin$Outbound,
|
|
457
|
+
z.ZodTypeDef,
|
|
458
|
+
SearchKnowledgeOrKnowledgeNin
|
|
459
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
501
460
|
|
|
502
461
|
/**
|
|
503
462
|
* @internal
|
|
504
463
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
505
464
|
*/
|
|
506
|
-
export namespace
|
|
507
|
-
/** @deprecated use `
|
|
508
|
-
export const inboundSchema =
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
/** @deprecated use `SearchKnowledgeDollarOrKnowledgeDollarNin$Outbound` instead. */
|
|
514
|
-
export type Outbound = SearchKnowledgeDollarOrKnowledgeDollarNin$Outbound;
|
|
465
|
+
export namespace SearchKnowledgeOrKnowledgeNin$ {
|
|
466
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeNin$inboundSchema` instead. */
|
|
467
|
+
export const inboundSchema = SearchKnowledgeOrKnowledgeNin$inboundSchema;
|
|
468
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeNin$outboundSchema` instead. */
|
|
469
|
+
export const outboundSchema = SearchKnowledgeOrKnowledgeNin$outboundSchema;
|
|
470
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeNin$Outbound` instead. */
|
|
471
|
+
export type Outbound = SearchKnowledgeOrKnowledgeNin$Outbound;
|
|
515
472
|
}
|
|
516
473
|
|
|
517
|
-
export function
|
|
518
|
-
|
|
519
|
-
SearchKnowledgeDollarOrKnowledgeDollarNin,
|
|
474
|
+
export function searchKnowledgeOrKnowledgeNinToJSON(
|
|
475
|
+
searchKnowledgeOrKnowledgeNin: SearchKnowledgeOrKnowledgeNin,
|
|
520
476
|
): string {
|
|
521
477
|
return JSON.stringify(
|
|
522
|
-
|
|
523
|
-
|
|
478
|
+
SearchKnowledgeOrKnowledgeNin$outboundSchema.parse(
|
|
479
|
+
searchKnowledgeOrKnowledgeNin,
|
|
524
480
|
),
|
|
525
481
|
);
|
|
526
482
|
}
|
|
527
483
|
|
|
528
|
-
export function
|
|
484
|
+
export function searchKnowledgeOrKnowledgeNinFromJSON(
|
|
529
485
|
jsonString: string,
|
|
530
|
-
): SafeParseResult<
|
|
531
|
-
SearchKnowledgeDollarOrKnowledgeDollarNin,
|
|
532
|
-
SDKValidationError
|
|
533
|
-
> {
|
|
486
|
+
): SafeParseResult<SearchKnowledgeOrKnowledgeNin, SDKValidationError> {
|
|
534
487
|
return safeParse(
|
|
535
488
|
jsonString,
|
|
536
|
-
(x) =>
|
|
537
|
-
|
|
538
|
-
JSON.parse(x),
|
|
539
|
-
),
|
|
540
|
-
`Failed to parse 'SearchKnowledgeDollarOrKnowledgeDollarNin' from JSON`,
|
|
489
|
+
(x) => SearchKnowledgeOrKnowledgeNin$inboundSchema.parse(JSON.parse(x)),
|
|
490
|
+
`Failed to parse 'SearchKnowledgeOrKnowledgeNin' from JSON`,
|
|
541
491
|
);
|
|
542
492
|
}
|
|
543
493
|
|
|
544
494
|
/** @internal */
|
|
545
|
-
export const
|
|
546
|
-
|
|
495
|
+
export const SearchKnowledgeOrNin$inboundSchema: z.ZodType<
|
|
496
|
+
SearchKnowledgeOrNin,
|
|
547
497
|
z.ZodTypeDef,
|
|
548
498
|
unknown
|
|
549
499
|
> = z.object({
|
|
550
|
-
|
|
551
|
-
}).transform((v) => {
|
|
552
|
-
return remap$(v, {
|
|
553
|
-
"$nin": "dollarNin",
|
|
554
|
-
});
|
|
500
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
555
501
|
});
|
|
556
502
|
|
|
557
503
|
/** @internal */
|
|
558
|
-
export type
|
|
559
|
-
|
|
504
|
+
export type SearchKnowledgeOrNin$Outbound = {
|
|
505
|
+
nin: Array<string | number | boolean>;
|
|
560
506
|
};
|
|
561
507
|
|
|
562
508
|
/** @internal */
|
|
563
|
-
export const
|
|
564
|
-
|
|
509
|
+
export const SearchKnowledgeOrNin$outboundSchema: z.ZodType<
|
|
510
|
+
SearchKnowledgeOrNin$Outbound,
|
|
565
511
|
z.ZodTypeDef,
|
|
566
|
-
|
|
512
|
+
SearchKnowledgeOrNin
|
|
567
513
|
> = z.object({
|
|
568
|
-
|
|
569
|
-
}).transform((v) => {
|
|
570
|
-
return remap$(v, {
|
|
571
|
-
dollarNin: "$nin",
|
|
572
|
-
});
|
|
514
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
573
515
|
});
|
|
574
516
|
|
|
575
517
|
/**
|
|
576
518
|
* @internal
|
|
577
519
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
578
520
|
*/
|
|
579
|
-
export namespace
|
|
580
|
-
/** @deprecated use `
|
|
581
|
-
export const inboundSchema =
|
|
582
|
-
/** @deprecated use `
|
|
583
|
-
export const outboundSchema =
|
|
584
|
-
/** @deprecated use `
|
|
585
|
-
export type Outbound =
|
|
521
|
+
export namespace SearchKnowledgeOrNin$ {
|
|
522
|
+
/** @deprecated use `SearchKnowledgeOrNin$inboundSchema` instead. */
|
|
523
|
+
export const inboundSchema = SearchKnowledgeOrNin$inboundSchema;
|
|
524
|
+
/** @deprecated use `SearchKnowledgeOrNin$outboundSchema` instead. */
|
|
525
|
+
export const outboundSchema = SearchKnowledgeOrNin$outboundSchema;
|
|
526
|
+
/** @deprecated use `SearchKnowledgeOrNin$Outbound` instead. */
|
|
527
|
+
export type Outbound = SearchKnowledgeOrNin$Outbound;
|
|
586
528
|
}
|
|
587
529
|
|
|
588
|
-
export function
|
|
589
|
-
|
|
530
|
+
export function searchKnowledgeOrNinToJSON(
|
|
531
|
+
searchKnowledgeOrNin: SearchKnowledgeOrNin,
|
|
590
532
|
): string {
|
|
591
533
|
return JSON.stringify(
|
|
592
|
-
|
|
593
|
-
searchKnowledgeDollarOrDollarNin,
|
|
594
|
-
),
|
|
534
|
+
SearchKnowledgeOrNin$outboundSchema.parse(searchKnowledgeOrNin),
|
|
595
535
|
);
|
|
596
536
|
}
|
|
597
537
|
|
|
598
|
-
export function
|
|
538
|
+
export function searchKnowledgeOrNinFromJSON(
|
|
599
539
|
jsonString: string,
|
|
600
|
-
): SafeParseResult<
|
|
540
|
+
): SafeParseResult<SearchKnowledgeOrNin, SDKValidationError> {
|
|
601
541
|
return safeParse(
|
|
602
542
|
jsonString,
|
|
603
|
-
(x) =>
|
|
604
|
-
`Failed to parse '
|
|
543
|
+
(x) => SearchKnowledgeOrNin$inboundSchema.parse(JSON.parse(x)),
|
|
544
|
+
`Failed to parse 'SearchKnowledgeOrNin' from JSON`,
|
|
605
545
|
);
|
|
606
546
|
}
|
|
607
547
|
|
|
608
548
|
/** @internal */
|
|
609
|
-
export const
|
|
610
|
-
|
|
549
|
+
export const SearchKnowledgeOrKnowledgeIn$inboundSchema: z.ZodType<
|
|
550
|
+
SearchKnowledgeOrKnowledgeIn,
|
|
611
551
|
z.ZodTypeDef,
|
|
612
552
|
unknown
|
|
613
553
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
614
554
|
|
|
615
555
|
/** @internal */
|
|
616
|
-
export type
|
|
617
|
-
| string
|
|
618
|
-
| number
|
|
619
|
-
| boolean;
|
|
556
|
+
export type SearchKnowledgeOrKnowledgeIn$Outbound = string | number | boolean;
|
|
620
557
|
|
|
621
558
|
/** @internal */
|
|
622
|
-
export const
|
|
623
|
-
|
|
559
|
+
export const SearchKnowledgeOrKnowledgeIn$outboundSchema: z.ZodType<
|
|
560
|
+
SearchKnowledgeOrKnowledgeIn$Outbound,
|
|
624
561
|
z.ZodTypeDef,
|
|
625
|
-
|
|
562
|
+
SearchKnowledgeOrKnowledgeIn
|
|
626
563
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
627
564
|
|
|
628
565
|
/**
|
|
629
566
|
* @internal
|
|
630
567
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
631
568
|
*/
|
|
632
|
-
export namespace
|
|
633
|
-
/** @deprecated use `
|
|
634
|
-
export const inboundSchema =
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
/** @deprecated use `SearchKnowledgeDollarOrKnowledgeDollarIn$Outbound` instead. */
|
|
640
|
-
export type Outbound = SearchKnowledgeDollarOrKnowledgeDollarIn$Outbound;
|
|
569
|
+
export namespace SearchKnowledgeOrKnowledgeIn$ {
|
|
570
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeIn$inboundSchema` instead. */
|
|
571
|
+
export const inboundSchema = SearchKnowledgeOrKnowledgeIn$inboundSchema;
|
|
572
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeIn$outboundSchema` instead. */
|
|
573
|
+
export const outboundSchema = SearchKnowledgeOrKnowledgeIn$outboundSchema;
|
|
574
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeIn$Outbound` instead. */
|
|
575
|
+
export type Outbound = SearchKnowledgeOrKnowledgeIn$Outbound;
|
|
641
576
|
}
|
|
642
577
|
|
|
643
|
-
export function
|
|
644
|
-
|
|
645
|
-
SearchKnowledgeDollarOrKnowledgeDollarIn,
|
|
578
|
+
export function searchKnowledgeOrKnowledgeInToJSON(
|
|
579
|
+
searchKnowledgeOrKnowledgeIn: SearchKnowledgeOrKnowledgeIn,
|
|
646
580
|
): string {
|
|
647
581
|
return JSON.stringify(
|
|
648
|
-
|
|
649
|
-
|
|
582
|
+
SearchKnowledgeOrKnowledgeIn$outboundSchema.parse(
|
|
583
|
+
searchKnowledgeOrKnowledgeIn,
|
|
650
584
|
),
|
|
651
585
|
);
|
|
652
586
|
}
|
|
653
587
|
|
|
654
|
-
export function
|
|
588
|
+
export function searchKnowledgeOrKnowledgeInFromJSON(
|
|
655
589
|
jsonString: string,
|
|
656
|
-
): SafeParseResult<
|
|
657
|
-
SearchKnowledgeDollarOrKnowledgeDollarIn,
|
|
658
|
-
SDKValidationError
|
|
659
|
-
> {
|
|
590
|
+
): SafeParseResult<SearchKnowledgeOrKnowledgeIn, SDKValidationError> {
|
|
660
591
|
return safeParse(
|
|
661
592
|
jsonString,
|
|
662
|
-
(x) =>
|
|
663
|
-
|
|
664
|
-
JSON.parse(x),
|
|
665
|
-
),
|
|
666
|
-
`Failed to parse 'SearchKnowledgeDollarOrKnowledgeDollarIn' from JSON`,
|
|
593
|
+
(x) => SearchKnowledgeOrKnowledgeIn$inboundSchema.parse(JSON.parse(x)),
|
|
594
|
+
`Failed to parse 'SearchKnowledgeOrKnowledgeIn' from JSON`,
|
|
667
595
|
);
|
|
668
596
|
}
|
|
669
597
|
|
|
670
598
|
/** @internal */
|
|
671
|
-
export const
|
|
672
|
-
|
|
599
|
+
export const SearchKnowledgeOrIn$inboundSchema: z.ZodType<
|
|
600
|
+
SearchKnowledgeOrIn,
|
|
673
601
|
z.ZodTypeDef,
|
|
674
602
|
unknown
|
|
675
603
|
> = z.object({
|
|
676
|
-
|
|
677
|
-
}).transform((v) => {
|
|
678
|
-
return remap$(v, {
|
|
679
|
-
"$in": "dollarIn",
|
|
680
|
-
});
|
|
604
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
681
605
|
});
|
|
682
606
|
|
|
683
607
|
/** @internal */
|
|
684
|
-
export type
|
|
685
|
-
|
|
608
|
+
export type SearchKnowledgeOrIn$Outbound = {
|
|
609
|
+
in: Array<string | number | boolean>;
|
|
686
610
|
};
|
|
687
611
|
|
|
688
612
|
/** @internal */
|
|
689
|
-
export const
|
|
690
|
-
|
|
613
|
+
export const SearchKnowledgeOrIn$outboundSchema: z.ZodType<
|
|
614
|
+
SearchKnowledgeOrIn$Outbound,
|
|
691
615
|
z.ZodTypeDef,
|
|
692
|
-
|
|
616
|
+
SearchKnowledgeOrIn
|
|
693
617
|
> = z.object({
|
|
694
|
-
|
|
695
|
-
}).transform((v) => {
|
|
696
|
-
return remap$(v, {
|
|
697
|
-
dollarIn: "$in",
|
|
698
|
-
});
|
|
618
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
699
619
|
});
|
|
700
620
|
|
|
701
621
|
/**
|
|
702
622
|
* @internal
|
|
703
623
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
704
624
|
*/
|
|
705
|
-
export namespace
|
|
706
|
-
/** @deprecated use `
|
|
707
|
-
export const inboundSchema =
|
|
708
|
-
/** @deprecated use `
|
|
709
|
-
export const outboundSchema =
|
|
710
|
-
/** @deprecated use `
|
|
711
|
-
export type Outbound =
|
|
625
|
+
export namespace SearchKnowledgeOrIn$ {
|
|
626
|
+
/** @deprecated use `SearchKnowledgeOrIn$inboundSchema` instead. */
|
|
627
|
+
export const inboundSchema = SearchKnowledgeOrIn$inboundSchema;
|
|
628
|
+
/** @deprecated use `SearchKnowledgeOrIn$outboundSchema` instead. */
|
|
629
|
+
export const outboundSchema = SearchKnowledgeOrIn$outboundSchema;
|
|
630
|
+
/** @deprecated use `SearchKnowledgeOrIn$Outbound` instead. */
|
|
631
|
+
export type Outbound = SearchKnowledgeOrIn$Outbound;
|
|
712
632
|
}
|
|
713
633
|
|
|
714
|
-
export function
|
|
715
|
-
|
|
634
|
+
export function searchKnowledgeOrInToJSON(
|
|
635
|
+
searchKnowledgeOrIn: SearchKnowledgeOrIn,
|
|
716
636
|
): string {
|
|
717
637
|
return JSON.stringify(
|
|
718
|
-
|
|
719
|
-
searchKnowledgeDollarOrDollarIn,
|
|
720
|
-
),
|
|
638
|
+
SearchKnowledgeOrIn$outboundSchema.parse(searchKnowledgeOrIn),
|
|
721
639
|
);
|
|
722
640
|
}
|
|
723
641
|
|
|
724
|
-
export function
|
|
642
|
+
export function searchKnowledgeOrInFromJSON(
|
|
725
643
|
jsonString: string,
|
|
726
|
-
): SafeParseResult<
|
|
644
|
+
): SafeParseResult<SearchKnowledgeOrIn, SDKValidationError> {
|
|
727
645
|
return safeParse(
|
|
728
646
|
jsonString,
|
|
729
|
-
(x) =>
|
|
730
|
-
`Failed to parse '
|
|
647
|
+
(x) => SearchKnowledgeOrIn$inboundSchema.parse(JSON.parse(x)),
|
|
648
|
+
`Failed to parse 'SearchKnowledgeOrIn' from JSON`,
|
|
731
649
|
);
|
|
732
650
|
}
|
|
733
651
|
|
|
734
652
|
/** @internal */
|
|
735
|
-
export const
|
|
736
|
-
|
|
653
|
+
export const SearchKnowledgeOrLte$inboundSchema: z.ZodType<
|
|
654
|
+
SearchKnowledgeOrLte,
|
|
737
655
|
z.ZodTypeDef,
|
|
738
656
|
unknown
|
|
739
657
|
> = z.object({
|
|
740
|
-
|
|
741
|
-
}).transform((v) => {
|
|
742
|
-
return remap$(v, {
|
|
743
|
-
"$lte": "dollarLte",
|
|
744
|
-
});
|
|
658
|
+
lte: z.number(),
|
|
745
659
|
});
|
|
746
660
|
|
|
747
661
|
/** @internal */
|
|
748
|
-
export type
|
|
749
|
-
|
|
662
|
+
export type SearchKnowledgeOrLte$Outbound = {
|
|
663
|
+
lte: number;
|
|
750
664
|
};
|
|
751
665
|
|
|
752
666
|
/** @internal */
|
|
753
|
-
export const
|
|
754
|
-
|
|
667
|
+
export const SearchKnowledgeOrLte$outboundSchema: z.ZodType<
|
|
668
|
+
SearchKnowledgeOrLte$Outbound,
|
|
755
669
|
z.ZodTypeDef,
|
|
756
|
-
|
|
670
|
+
SearchKnowledgeOrLte
|
|
757
671
|
> = z.object({
|
|
758
|
-
|
|
759
|
-
}).transform((v) => {
|
|
760
|
-
return remap$(v, {
|
|
761
|
-
dollarLte: "$lte",
|
|
762
|
-
});
|
|
672
|
+
lte: z.number(),
|
|
763
673
|
});
|
|
764
674
|
|
|
765
675
|
/**
|
|
766
676
|
* @internal
|
|
767
677
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
768
678
|
*/
|
|
769
|
-
export namespace
|
|
770
|
-
/** @deprecated use `
|
|
771
|
-
export const inboundSchema =
|
|
772
|
-
/** @deprecated use `
|
|
773
|
-
export const outboundSchema =
|
|
774
|
-
/** @deprecated use `
|
|
775
|
-
export type Outbound =
|
|
679
|
+
export namespace SearchKnowledgeOrLte$ {
|
|
680
|
+
/** @deprecated use `SearchKnowledgeOrLte$inboundSchema` instead. */
|
|
681
|
+
export const inboundSchema = SearchKnowledgeOrLte$inboundSchema;
|
|
682
|
+
/** @deprecated use `SearchKnowledgeOrLte$outboundSchema` instead. */
|
|
683
|
+
export const outboundSchema = SearchKnowledgeOrLte$outboundSchema;
|
|
684
|
+
/** @deprecated use `SearchKnowledgeOrLte$Outbound` instead. */
|
|
685
|
+
export type Outbound = SearchKnowledgeOrLte$Outbound;
|
|
776
686
|
}
|
|
777
687
|
|
|
778
|
-
export function
|
|
779
|
-
|
|
688
|
+
export function searchKnowledgeOrLteToJSON(
|
|
689
|
+
searchKnowledgeOrLte: SearchKnowledgeOrLte,
|
|
780
690
|
): string {
|
|
781
691
|
return JSON.stringify(
|
|
782
|
-
|
|
783
|
-
searchKnowledgeDollarOrDollarLte,
|
|
784
|
-
),
|
|
692
|
+
SearchKnowledgeOrLte$outboundSchema.parse(searchKnowledgeOrLte),
|
|
785
693
|
);
|
|
786
694
|
}
|
|
787
695
|
|
|
788
|
-
export function
|
|
696
|
+
export function searchKnowledgeOrLteFromJSON(
|
|
789
697
|
jsonString: string,
|
|
790
|
-
): SafeParseResult<
|
|
698
|
+
): SafeParseResult<SearchKnowledgeOrLte, SDKValidationError> {
|
|
791
699
|
return safeParse(
|
|
792
700
|
jsonString,
|
|
793
|
-
(x) =>
|
|
794
|
-
`Failed to parse '
|
|
701
|
+
(x) => SearchKnowledgeOrLte$inboundSchema.parse(JSON.parse(x)),
|
|
702
|
+
`Failed to parse 'SearchKnowledgeOrLte' from JSON`,
|
|
795
703
|
);
|
|
796
704
|
}
|
|
797
705
|
|
|
798
706
|
/** @internal */
|
|
799
|
-
export const
|
|
800
|
-
|
|
707
|
+
export const SearchKnowledgeOrLt$inboundSchema: z.ZodType<
|
|
708
|
+
SearchKnowledgeOrLt,
|
|
801
709
|
z.ZodTypeDef,
|
|
802
710
|
unknown
|
|
803
711
|
> = z.object({
|
|
804
|
-
|
|
805
|
-
}).transform((v) => {
|
|
806
|
-
return remap$(v, {
|
|
807
|
-
"$lt": "dollarLt",
|
|
808
|
-
});
|
|
712
|
+
lt: z.number(),
|
|
809
713
|
});
|
|
810
714
|
|
|
811
715
|
/** @internal */
|
|
812
|
-
export type
|
|
813
|
-
|
|
716
|
+
export type SearchKnowledgeOrLt$Outbound = {
|
|
717
|
+
lt: number;
|
|
814
718
|
};
|
|
815
719
|
|
|
816
720
|
/** @internal */
|
|
817
|
-
export const
|
|
818
|
-
|
|
721
|
+
export const SearchKnowledgeOrLt$outboundSchema: z.ZodType<
|
|
722
|
+
SearchKnowledgeOrLt$Outbound,
|
|
819
723
|
z.ZodTypeDef,
|
|
820
|
-
|
|
724
|
+
SearchKnowledgeOrLt
|
|
821
725
|
> = z.object({
|
|
822
|
-
|
|
823
|
-
}).transform((v) => {
|
|
824
|
-
return remap$(v, {
|
|
825
|
-
dollarLt: "$lt",
|
|
826
|
-
});
|
|
726
|
+
lt: z.number(),
|
|
827
727
|
});
|
|
828
728
|
|
|
829
729
|
/**
|
|
830
730
|
* @internal
|
|
831
731
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
832
732
|
*/
|
|
833
|
-
export namespace
|
|
834
|
-
/** @deprecated use `
|
|
835
|
-
export const inboundSchema =
|
|
836
|
-
/** @deprecated use `
|
|
837
|
-
export const outboundSchema =
|
|
838
|
-
/** @deprecated use `
|
|
839
|
-
export type Outbound =
|
|
733
|
+
export namespace SearchKnowledgeOrLt$ {
|
|
734
|
+
/** @deprecated use `SearchKnowledgeOrLt$inboundSchema` instead. */
|
|
735
|
+
export const inboundSchema = SearchKnowledgeOrLt$inboundSchema;
|
|
736
|
+
/** @deprecated use `SearchKnowledgeOrLt$outboundSchema` instead. */
|
|
737
|
+
export const outboundSchema = SearchKnowledgeOrLt$outboundSchema;
|
|
738
|
+
/** @deprecated use `SearchKnowledgeOrLt$Outbound` instead. */
|
|
739
|
+
export type Outbound = SearchKnowledgeOrLt$Outbound;
|
|
840
740
|
}
|
|
841
741
|
|
|
842
|
-
export function
|
|
843
|
-
|
|
742
|
+
export function searchKnowledgeOrLtToJSON(
|
|
743
|
+
searchKnowledgeOrLt: SearchKnowledgeOrLt,
|
|
844
744
|
): string {
|
|
845
745
|
return JSON.stringify(
|
|
846
|
-
|
|
847
|
-
searchKnowledgeDollarOrDollarLt,
|
|
848
|
-
),
|
|
746
|
+
SearchKnowledgeOrLt$outboundSchema.parse(searchKnowledgeOrLt),
|
|
849
747
|
);
|
|
850
748
|
}
|
|
851
749
|
|
|
852
|
-
export function
|
|
750
|
+
export function searchKnowledgeOrLtFromJSON(
|
|
853
751
|
jsonString: string,
|
|
854
|
-
): SafeParseResult<
|
|
752
|
+
): SafeParseResult<SearchKnowledgeOrLt, SDKValidationError> {
|
|
855
753
|
return safeParse(
|
|
856
754
|
jsonString,
|
|
857
|
-
(x) =>
|
|
858
|
-
`Failed to parse '
|
|
755
|
+
(x) => SearchKnowledgeOrLt$inboundSchema.parse(JSON.parse(x)),
|
|
756
|
+
`Failed to parse 'SearchKnowledgeOrLt' from JSON`,
|
|
859
757
|
);
|
|
860
758
|
}
|
|
861
759
|
|
|
862
760
|
/** @internal */
|
|
863
|
-
export const
|
|
864
|
-
|
|
761
|
+
export const SearchKnowledgeOrGte$inboundSchema: z.ZodType<
|
|
762
|
+
SearchKnowledgeOrGte,
|
|
865
763
|
z.ZodTypeDef,
|
|
866
764
|
unknown
|
|
867
765
|
> = z.object({
|
|
868
|
-
|
|
869
|
-
}).transform((v) => {
|
|
870
|
-
return remap$(v, {
|
|
871
|
-
"$gte": "dollarGte",
|
|
872
|
-
});
|
|
766
|
+
gte: z.number(),
|
|
873
767
|
});
|
|
874
768
|
|
|
875
769
|
/** @internal */
|
|
876
|
-
export type
|
|
877
|
-
|
|
770
|
+
export type SearchKnowledgeOrGte$Outbound = {
|
|
771
|
+
gte: number;
|
|
878
772
|
};
|
|
879
773
|
|
|
880
774
|
/** @internal */
|
|
881
|
-
export const
|
|
882
|
-
|
|
775
|
+
export const SearchKnowledgeOrGte$outboundSchema: z.ZodType<
|
|
776
|
+
SearchKnowledgeOrGte$Outbound,
|
|
883
777
|
z.ZodTypeDef,
|
|
884
|
-
|
|
778
|
+
SearchKnowledgeOrGte
|
|
885
779
|
> = z.object({
|
|
886
|
-
|
|
887
|
-
}).transform((v) => {
|
|
888
|
-
return remap$(v, {
|
|
889
|
-
dollarGte: "$gte",
|
|
890
|
-
});
|
|
780
|
+
gte: z.number(),
|
|
891
781
|
});
|
|
892
782
|
|
|
893
783
|
/**
|
|
894
784
|
* @internal
|
|
895
785
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
896
786
|
*/
|
|
897
|
-
export namespace
|
|
898
|
-
/** @deprecated use `
|
|
899
|
-
export const inboundSchema =
|
|
900
|
-
/** @deprecated use `
|
|
901
|
-
export const outboundSchema =
|
|
902
|
-
/** @deprecated use `
|
|
903
|
-
export type Outbound =
|
|
787
|
+
export namespace SearchKnowledgeOrGte$ {
|
|
788
|
+
/** @deprecated use `SearchKnowledgeOrGte$inboundSchema` instead. */
|
|
789
|
+
export const inboundSchema = SearchKnowledgeOrGte$inboundSchema;
|
|
790
|
+
/** @deprecated use `SearchKnowledgeOrGte$outboundSchema` instead. */
|
|
791
|
+
export const outboundSchema = SearchKnowledgeOrGte$outboundSchema;
|
|
792
|
+
/** @deprecated use `SearchKnowledgeOrGte$Outbound` instead. */
|
|
793
|
+
export type Outbound = SearchKnowledgeOrGte$Outbound;
|
|
904
794
|
}
|
|
905
795
|
|
|
906
|
-
export function
|
|
907
|
-
|
|
796
|
+
export function searchKnowledgeOrGteToJSON(
|
|
797
|
+
searchKnowledgeOrGte: SearchKnowledgeOrGte,
|
|
908
798
|
): string {
|
|
909
799
|
return JSON.stringify(
|
|
910
|
-
|
|
911
|
-
searchKnowledgeDollarOrDollarGte,
|
|
912
|
-
),
|
|
800
|
+
SearchKnowledgeOrGte$outboundSchema.parse(searchKnowledgeOrGte),
|
|
913
801
|
);
|
|
914
802
|
}
|
|
915
803
|
|
|
916
|
-
export function
|
|
804
|
+
export function searchKnowledgeOrGteFromJSON(
|
|
917
805
|
jsonString: string,
|
|
918
|
-
): SafeParseResult<
|
|
806
|
+
): SafeParseResult<SearchKnowledgeOrGte, SDKValidationError> {
|
|
919
807
|
return safeParse(
|
|
920
808
|
jsonString,
|
|
921
|
-
(x) =>
|
|
922
|
-
`Failed to parse '
|
|
809
|
+
(x) => SearchKnowledgeOrGte$inboundSchema.parse(JSON.parse(x)),
|
|
810
|
+
`Failed to parse 'SearchKnowledgeOrGte' from JSON`,
|
|
923
811
|
);
|
|
924
812
|
}
|
|
925
813
|
|
|
926
814
|
/** @internal */
|
|
927
|
-
export const
|
|
928
|
-
|
|
815
|
+
export const SearchKnowledgeOr3$inboundSchema: z.ZodType<
|
|
816
|
+
SearchKnowledgeOr3,
|
|
929
817
|
z.ZodTypeDef,
|
|
930
818
|
unknown
|
|
931
819
|
> = z.object({
|
|
932
|
-
|
|
933
|
-
}).transform((v) => {
|
|
934
|
-
return remap$(v, {
|
|
935
|
-
"$gt": "dollarGt",
|
|
936
|
-
});
|
|
820
|
+
gt: z.number(),
|
|
937
821
|
});
|
|
938
822
|
|
|
939
823
|
/** @internal */
|
|
940
|
-
export type
|
|
941
|
-
|
|
824
|
+
export type SearchKnowledgeOr3$Outbound = {
|
|
825
|
+
gt: number;
|
|
942
826
|
};
|
|
943
827
|
|
|
944
828
|
/** @internal */
|
|
945
|
-
export const
|
|
946
|
-
|
|
829
|
+
export const SearchKnowledgeOr3$outboundSchema: z.ZodType<
|
|
830
|
+
SearchKnowledgeOr3$Outbound,
|
|
947
831
|
z.ZodTypeDef,
|
|
948
|
-
|
|
832
|
+
SearchKnowledgeOr3
|
|
949
833
|
> = z.object({
|
|
950
|
-
|
|
951
|
-
}).transform((v) => {
|
|
952
|
-
return remap$(v, {
|
|
953
|
-
dollarGt: "$gt",
|
|
954
|
-
});
|
|
834
|
+
gt: z.number(),
|
|
955
835
|
});
|
|
956
836
|
|
|
957
837
|
/**
|
|
958
838
|
* @internal
|
|
959
839
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
960
840
|
*/
|
|
961
|
-
export namespace
|
|
962
|
-
/** @deprecated use `
|
|
963
|
-
export const inboundSchema =
|
|
964
|
-
/** @deprecated use `
|
|
965
|
-
export const outboundSchema =
|
|
966
|
-
/** @deprecated use `
|
|
967
|
-
export type Outbound =
|
|
841
|
+
export namespace SearchKnowledgeOr3$ {
|
|
842
|
+
/** @deprecated use `SearchKnowledgeOr3$inboundSchema` instead. */
|
|
843
|
+
export const inboundSchema = SearchKnowledgeOr3$inboundSchema;
|
|
844
|
+
/** @deprecated use `SearchKnowledgeOr3$outboundSchema` instead. */
|
|
845
|
+
export const outboundSchema = SearchKnowledgeOr3$outboundSchema;
|
|
846
|
+
/** @deprecated use `SearchKnowledgeOr3$Outbound` instead. */
|
|
847
|
+
export type Outbound = SearchKnowledgeOr3$Outbound;
|
|
968
848
|
}
|
|
969
849
|
|
|
970
|
-
export function
|
|
971
|
-
|
|
850
|
+
export function searchKnowledgeOr3ToJSON(
|
|
851
|
+
searchKnowledgeOr3: SearchKnowledgeOr3,
|
|
972
852
|
): string {
|
|
973
853
|
return JSON.stringify(
|
|
974
|
-
|
|
854
|
+
SearchKnowledgeOr3$outboundSchema.parse(searchKnowledgeOr3),
|
|
975
855
|
);
|
|
976
856
|
}
|
|
977
857
|
|
|
978
|
-
export function
|
|
858
|
+
export function searchKnowledgeOr3FromJSON(
|
|
979
859
|
jsonString: string,
|
|
980
|
-
): SafeParseResult<
|
|
860
|
+
): SafeParseResult<SearchKnowledgeOr3, SDKValidationError> {
|
|
981
861
|
return safeParse(
|
|
982
862
|
jsonString,
|
|
983
|
-
(x) =>
|
|
984
|
-
`Failed to parse '
|
|
863
|
+
(x) => SearchKnowledgeOr3$inboundSchema.parse(JSON.parse(x)),
|
|
864
|
+
`Failed to parse 'SearchKnowledgeOr3' from JSON`,
|
|
985
865
|
);
|
|
986
866
|
}
|
|
987
867
|
|
|
988
868
|
/** @internal */
|
|
989
|
-
export const
|
|
990
|
-
|
|
869
|
+
export const SearchKnowledgeOrKnowledgeNe$inboundSchema: z.ZodType<
|
|
870
|
+
SearchKnowledgeOrKnowledgeNe,
|
|
991
871
|
z.ZodTypeDef,
|
|
992
872
|
unknown
|
|
993
873
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
994
874
|
|
|
995
875
|
/** @internal */
|
|
996
|
-
export type
|
|
997
|
-
| string
|
|
998
|
-
| number
|
|
999
|
-
| boolean;
|
|
876
|
+
export type SearchKnowledgeOrKnowledgeNe$Outbound = string | number | boolean;
|
|
1000
877
|
|
|
1001
878
|
/** @internal */
|
|
1002
|
-
export const
|
|
1003
|
-
|
|
879
|
+
export const SearchKnowledgeOrKnowledgeNe$outboundSchema: z.ZodType<
|
|
880
|
+
SearchKnowledgeOrKnowledgeNe$Outbound,
|
|
1004
881
|
z.ZodTypeDef,
|
|
1005
|
-
|
|
882
|
+
SearchKnowledgeOrKnowledgeNe
|
|
1006
883
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1007
884
|
|
|
1008
885
|
/**
|
|
1009
886
|
* @internal
|
|
1010
887
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1011
888
|
*/
|
|
1012
|
-
export namespace
|
|
1013
|
-
/** @deprecated use `
|
|
1014
|
-
export const inboundSchema =
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
/** @deprecated use `SearchKnowledgeDollarOrKnowledgeDollarNe$Outbound` instead. */
|
|
1020
|
-
export type Outbound = SearchKnowledgeDollarOrKnowledgeDollarNe$Outbound;
|
|
889
|
+
export namespace SearchKnowledgeOrKnowledgeNe$ {
|
|
890
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeNe$inboundSchema` instead. */
|
|
891
|
+
export const inboundSchema = SearchKnowledgeOrKnowledgeNe$inboundSchema;
|
|
892
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeNe$outboundSchema` instead. */
|
|
893
|
+
export const outboundSchema = SearchKnowledgeOrKnowledgeNe$outboundSchema;
|
|
894
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeNe$Outbound` instead. */
|
|
895
|
+
export type Outbound = SearchKnowledgeOrKnowledgeNe$Outbound;
|
|
1021
896
|
}
|
|
1022
897
|
|
|
1023
|
-
export function
|
|
1024
|
-
|
|
1025
|
-
SearchKnowledgeDollarOrKnowledgeDollarNe,
|
|
898
|
+
export function searchKnowledgeOrKnowledgeNeToJSON(
|
|
899
|
+
searchKnowledgeOrKnowledgeNe: SearchKnowledgeOrKnowledgeNe,
|
|
1026
900
|
): string {
|
|
1027
901
|
return JSON.stringify(
|
|
1028
|
-
|
|
1029
|
-
|
|
902
|
+
SearchKnowledgeOrKnowledgeNe$outboundSchema.parse(
|
|
903
|
+
searchKnowledgeOrKnowledgeNe,
|
|
1030
904
|
),
|
|
1031
905
|
);
|
|
1032
906
|
}
|
|
1033
907
|
|
|
1034
|
-
export function
|
|
908
|
+
export function searchKnowledgeOrKnowledgeNeFromJSON(
|
|
1035
909
|
jsonString: string,
|
|
1036
|
-
): SafeParseResult<
|
|
1037
|
-
SearchKnowledgeDollarOrKnowledgeDollarNe,
|
|
1038
|
-
SDKValidationError
|
|
1039
|
-
> {
|
|
910
|
+
): SafeParseResult<SearchKnowledgeOrKnowledgeNe, SDKValidationError> {
|
|
1040
911
|
return safeParse(
|
|
1041
912
|
jsonString,
|
|
1042
|
-
(x) =>
|
|
1043
|
-
|
|
1044
|
-
JSON.parse(x),
|
|
1045
|
-
),
|
|
1046
|
-
`Failed to parse 'SearchKnowledgeDollarOrKnowledgeDollarNe' from JSON`,
|
|
913
|
+
(x) => SearchKnowledgeOrKnowledgeNe$inboundSchema.parse(JSON.parse(x)),
|
|
914
|
+
`Failed to parse 'SearchKnowledgeOrKnowledgeNe' from JSON`,
|
|
1047
915
|
);
|
|
1048
916
|
}
|
|
1049
917
|
|
|
1050
918
|
/** @internal */
|
|
1051
|
-
export const
|
|
1052
|
-
|
|
919
|
+
export const SearchKnowledgeOrNe$inboundSchema: z.ZodType<
|
|
920
|
+
SearchKnowledgeOrNe,
|
|
1053
921
|
z.ZodTypeDef,
|
|
1054
922
|
unknown
|
|
1055
923
|
> = z.object({
|
|
1056
|
-
|
|
1057
|
-
}).transform((v) => {
|
|
1058
|
-
return remap$(v, {
|
|
1059
|
-
"$ne": "dollarNe",
|
|
1060
|
-
});
|
|
924
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1061
925
|
});
|
|
1062
926
|
|
|
1063
927
|
/** @internal */
|
|
1064
|
-
export type
|
|
1065
|
-
|
|
928
|
+
export type SearchKnowledgeOrNe$Outbound = {
|
|
929
|
+
ne: string | number | boolean;
|
|
1066
930
|
};
|
|
1067
931
|
|
|
1068
932
|
/** @internal */
|
|
1069
|
-
export const
|
|
1070
|
-
|
|
933
|
+
export const SearchKnowledgeOrNe$outboundSchema: z.ZodType<
|
|
934
|
+
SearchKnowledgeOrNe$Outbound,
|
|
1071
935
|
z.ZodTypeDef,
|
|
1072
|
-
|
|
936
|
+
SearchKnowledgeOrNe
|
|
1073
937
|
> = z.object({
|
|
1074
|
-
|
|
1075
|
-
}).transform((v) => {
|
|
1076
|
-
return remap$(v, {
|
|
1077
|
-
dollarNe: "$ne",
|
|
1078
|
-
});
|
|
938
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1079
939
|
});
|
|
1080
940
|
|
|
1081
941
|
/**
|
|
1082
942
|
* @internal
|
|
1083
943
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1084
944
|
*/
|
|
1085
|
-
export namespace
|
|
1086
|
-
/** @deprecated use `
|
|
1087
|
-
export const inboundSchema =
|
|
1088
|
-
/** @deprecated use `
|
|
1089
|
-
export const outboundSchema =
|
|
1090
|
-
/** @deprecated use `
|
|
1091
|
-
export type Outbound =
|
|
945
|
+
export namespace SearchKnowledgeOrNe$ {
|
|
946
|
+
/** @deprecated use `SearchKnowledgeOrNe$inboundSchema` instead. */
|
|
947
|
+
export const inboundSchema = SearchKnowledgeOrNe$inboundSchema;
|
|
948
|
+
/** @deprecated use `SearchKnowledgeOrNe$outboundSchema` instead. */
|
|
949
|
+
export const outboundSchema = SearchKnowledgeOrNe$outboundSchema;
|
|
950
|
+
/** @deprecated use `SearchKnowledgeOrNe$Outbound` instead. */
|
|
951
|
+
export type Outbound = SearchKnowledgeOrNe$Outbound;
|
|
1092
952
|
}
|
|
1093
953
|
|
|
1094
|
-
export function
|
|
1095
|
-
|
|
954
|
+
export function searchKnowledgeOrNeToJSON(
|
|
955
|
+
searchKnowledgeOrNe: SearchKnowledgeOrNe,
|
|
1096
956
|
): string {
|
|
1097
957
|
return JSON.stringify(
|
|
1098
|
-
|
|
1099
|
-
searchKnowledgeDollarOrDollarNe,
|
|
1100
|
-
),
|
|
958
|
+
SearchKnowledgeOrNe$outboundSchema.parse(searchKnowledgeOrNe),
|
|
1101
959
|
);
|
|
1102
960
|
}
|
|
1103
961
|
|
|
1104
|
-
export function
|
|
962
|
+
export function searchKnowledgeOrNeFromJSON(
|
|
1105
963
|
jsonString: string,
|
|
1106
|
-
): SafeParseResult<
|
|
964
|
+
): SafeParseResult<SearchKnowledgeOrNe, SDKValidationError> {
|
|
1107
965
|
return safeParse(
|
|
1108
966
|
jsonString,
|
|
1109
|
-
(x) =>
|
|
1110
|
-
`Failed to parse '
|
|
967
|
+
(x) => SearchKnowledgeOrNe$inboundSchema.parse(JSON.parse(x)),
|
|
968
|
+
`Failed to parse 'SearchKnowledgeOrNe' from JSON`,
|
|
1111
969
|
);
|
|
1112
970
|
}
|
|
1113
971
|
|
|
1114
972
|
/** @internal */
|
|
1115
|
-
export const
|
|
1116
|
-
|
|
973
|
+
export const SearchKnowledgeOrKnowledgeEq$inboundSchema: z.ZodType<
|
|
974
|
+
SearchKnowledgeOrKnowledgeEq,
|
|
1117
975
|
z.ZodTypeDef,
|
|
1118
976
|
unknown
|
|
1119
977
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1120
978
|
|
|
1121
979
|
/** @internal */
|
|
1122
|
-
export type
|
|
1123
|
-
| string
|
|
1124
|
-
| number
|
|
1125
|
-
| boolean;
|
|
980
|
+
export type SearchKnowledgeOrKnowledgeEq$Outbound = string | number | boolean;
|
|
1126
981
|
|
|
1127
982
|
/** @internal */
|
|
1128
|
-
export const
|
|
1129
|
-
|
|
983
|
+
export const SearchKnowledgeOrKnowledgeEq$outboundSchema: z.ZodType<
|
|
984
|
+
SearchKnowledgeOrKnowledgeEq$Outbound,
|
|
1130
985
|
z.ZodTypeDef,
|
|
1131
|
-
|
|
986
|
+
SearchKnowledgeOrKnowledgeEq
|
|
1132
987
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1133
988
|
|
|
1134
989
|
/**
|
|
1135
990
|
* @internal
|
|
1136
991
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1137
992
|
*/
|
|
1138
|
-
export namespace
|
|
1139
|
-
/** @deprecated use `
|
|
1140
|
-
export const inboundSchema =
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
/** @deprecated use `SearchKnowledgeDollarOrKnowledgeDollarEq$Outbound` instead. */
|
|
1146
|
-
export type Outbound = SearchKnowledgeDollarOrKnowledgeDollarEq$Outbound;
|
|
993
|
+
export namespace SearchKnowledgeOrKnowledgeEq$ {
|
|
994
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeEq$inboundSchema` instead. */
|
|
995
|
+
export const inboundSchema = SearchKnowledgeOrKnowledgeEq$inboundSchema;
|
|
996
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeEq$outboundSchema` instead. */
|
|
997
|
+
export const outboundSchema = SearchKnowledgeOrKnowledgeEq$outboundSchema;
|
|
998
|
+
/** @deprecated use `SearchKnowledgeOrKnowledgeEq$Outbound` instead. */
|
|
999
|
+
export type Outbound = SearchKnowledgeOrKnowledgeEq$Outbound;
|
|
1147
1000
|
}
|
|
1148
1001
|
|
|
1149
|
-
export function
|
|
1150
|
-
|
|
1151
|
-
SearchKnowledgeDollarOrKnowledgeDollarEq,
|
|
1002
|
+
export function searchKnowledgeOrKnowledgeEqToJSON(
|
|
1003
|
+
searchKnowledgeOrKnowledgeEq: SearchKnowledgeOrKnowledgeEq,
|
|
1152
1004
|
): string {
|
|
1153
1005
|
return JSON.stringify(
|
|
1154
|
-
|
|
1155
|
-
|
|
1006
|
+
SearchKnowledgeOrKnowledgeEq$outboundSchema.parse(
|
|
1007
|
+
searchKnowledgeOrKnowledgeEq,
|
|
1156
1008
|
),
|
|
1157
1009
|
);
|
|
1158
1010
|
}
|
|
1159
1011
|
|
|
1160
|
-
export function
|
|
1012
|
+
export function searchKnowledgeOrKnowledgeEqFromJSON(
|
|
1161
1013
|
jsonString: string,
|
|
1162
|
-
): SafeParseResult<
|
|
1163
|
-
SearchKnowledgeDollarOrKnowledgeDollarEq,
|
|
1164
|
-
SDKValidationError
|
|
1165
|
-
> {
|
|
1014
|
+
): SafeParseResult<SearchKnowledgeOrKnowledgeEq, SDKValidationError> {
|
|
1166
1015
|
return safeParse(
|
|
1167
1016
|
jsonString,
|
|
1168
|
-
(x) =>
|
|
1169
|
-
|
|
1170
|
-
JSON.parse(x),
|
|
1171
|
-
),
|
|
1172
|
-
`Failed to parse 'SearchKnowledgeDollarOrKnowledgeDollarEq' from JSON`,
|
|
1017
|
+
(x) => SearchKnowledgeOrKnowledgeEq$inboundSchema.parse(JSON.parse(x)),
|
|
1018
|
+
`Failed to parse 'SearchKnowledgeOrKnowledgeEq' from JSON`,
|
|
1173
1019
|
);
|
|
1174
1020
|
}
|
|
1175
1021
|
|
|
1176
1022
|
/** @internal */
|
|
1177
|
-
export const
|
|
1178
|
-
|
|
1023
|
+
export const SearchKnowledgeOrEq$inboundSchema: z.ZodType<
|
|
1024
|
+
SearchKnowledgeOrEq,
|
|
1179
1025
|
z.ZodTypeDef,
|
|
1180
1026
|
unknown
|
|
1181
1027
|
> = z.object({
|
|
1182
|
-
|
|
1183
|
-
}).transform((v) => {
|
|
1184
|
-
return remap$(v, {
|
|
1185
|
-
"$eq": "dollarEq",
|
|
1186
|
-
});
|
|
1028
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1187
1029
|
});
|
|
1188
1030
|
|
|
1189
1031
|
/** @internal */
|
|
1190
|
-
export type
|
|
1191
|
-
|
|
1032
|
+
export type SearchKnowledgeOrEq$Outbound = {
|
|
1033
|
+
eq: string | number | boolean;
|
|
1192
1034
|
};
|
|
1193
1035
|
|
|
1194
1036
|
/** @internal */
|
|
1195
|
-
export const
|
|
1196
|
-
|
|
1037
|
+
export const SearchKnowledgeOrEq$outboundSchema: z.ZodType<
|
|
1038
|
+
SearchKnowledgeOrEq$Outbound,
|
|
1197
1039
|
z.ZodTypeDef,
|
|
1198
|
-
|
|
1040
|
+
SearchKnowledgeOrEq
|
|
1199
1041
|
> = z.object({
|
|
1200
|
-
|
|
1201
|
-
}).transform((v) => {
|
|
1202
|
-
return remap$(v, {
|
|
1203
|
-
dollarEq: "$eq",
|
|
1204
|
-
});
|
|
1042
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1205
1043
|
});
|
|
1206
1044
|
|
|
1207
1045
|
/**
|
|
1208
1046
|
* @internal
|
|
1209
1047
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1210
1048
|
*/
|
|
1211
|
-
export namespace
|
|
1212
|
-
/** @deprecated use `
|
|
1213
|
-
export const inboundSchema =
|
|
1214
|
-
/** @deprecated use `
|
|
1215
|
-
export const outboundSchema =
|
|
1216
|
-
/** @deprecated use `
|
|
1217
|
-
export type Outbound =
|
|
1049
|
+
export namespace SearchKnowledgeOrEq$ {
|
|
1050
|
+
/** @deprecated use `SearchKnowledgeOrEq$inboundSchema` instead. */
|
|
1051
|
+
export const inboundSchema = SearchKnowledgeOrEq$inboundSchema;
|
|
1052
|
+
/** @deprecated use `SearchKnowledgeOrEq$outboundSchema` instead. */
|
|
1053
|
+
export const outboundSchema = SearchKnowledgeOrEq$outboundSchema;
|
|
1054
|
+
/** @deprecated use `SearchKnowledgeOrEq$Outbound` instead. */
|
|
1055
|
+
export type Outbound = SearchKnowledgeOrEq$Outbound;
|
|
1218
1056
|
}
|
|
1219
1057
|
|
|
1220
|
-
export function
|
|
1221
|
-
|
|
1058
|
+
export function searchKnowledgeOrEqToJSON(
|
|
1059
|
+
searchKnowledgeOrEq: SearchKnowledgeOrEq,
|
|
1222
1060
|
): string {
|
|
1223
1061
|
return JSON.stringify(
|
|
1224
|
-
|
|
1225
|
-
searchKnowledgeDollarOrDollarEq,
|
|
1226
|
-
),
|
|
1062
|
+
SearchKnowledgeOrEq$outboundSchema.parse(searchKnowledgeOrEq),
|
|
1227
1063
|
);
|
|
1228
1064
|
}
|
|
1229
1065
|
|
|
1230
|
-
export function
|
|
1066
|
+
export function searchKnowledgeOrEqFromJSON(
|
|
1231
1067
|
jsonString: string,
|
|
1232
|
-
): SafeParseResult<
|
|
1068
|
+
): SafeParseResult<SearchKnowledgeOrEq, SDKValidationError> {
|
|
1233
1069
|
return safeParse(
|
|
1234
1070
|
jsonString,
|
|
1235
|
-
(x) =>
|
|
1236
|
-
`Failed to parse '
|
|
1071
|
+
(x) => SearchKnowledgeOrEq$inboundSchema.parse(JSON.parse(x)),
|
|
1072
|
+
`Failed to parse 'SearchKnowledgeOrEq' from JSON`,
|
|
1237
1073
|
);
|
|
1238
1074
|
}
|
|
1239
1075
|
|
|
1240
1076
|
/** @internal */
|
|
1241
|
-
export const
|
|
1242
|
-
|
|
1077
|
+
export const SearchKnowledgeFilterByOr$inboundSchema: z.ZodType<
|
|
1078
|
+
SearchKnowledgeFilterByOr,
|
|
1243
1079
|
z.ZodTypeDef,
|
|
1244
1080
|
unknown
|
|
1245
1081
|
> = z.union([
|
|
1246
|
-
z.lazy(() =>
|
|
1247
|
-
z.lazy(() =>
|
|
1248
|
-
z.lazy(() =>
|
|
1249
|
-
z.lazy(() =>
|
|
1250
|
-
z.lazy(() =>
|
|
1251
|
-
z.lazy(() =>
|
|
1252
|
-
z.lazy(() =>
|
|
1253
|
-
z.lazy(() =>
|
|
1254
|
-
z.lazy(() =>
|
|
1082
|
+
z.lazy(() => SearchKnowledgeOrEq$inboundSchema),
|
|
1083
|
+
z.lazy(() => SearchKnowledgeOrNe$inboundSchema),
|
|
1084
|
+
z.lazy(() => SearchKnowledgeOr3$inboundSchema),
|
|
1085
|
+
z.lazy(() => SearchKnowledgeOrGte$inboundSchema),
|
|
1086
|
+
z.lazy(() => SearchKnowledgeOrLt$inboundSchema),
|
|
1087
|
+
z.lazy(() => SearchKnowledgeOrLte$inboundSchema),
|
|
1088
|
+
z.lazy(() => SearchKnowledgeOrIn$inboundSchema),
|
|
1089
|
+
z.lazy(() => SearchKnowledgeOrNin$inboundSchema),
|
|
1090
|
+
z.lazy(() => SearchKnowledgeOrExists$inboundSchema),
|
|
1255
1091
|
]);
|
|
1256
1092
|
|
|
1257
1093
|
/** @internal */
|
|
1258
|
-
export type
|
|
1259
|
-
|
|
|
1260
|
-
|
|
|
1261
|
-
|
|
|
1262
|
-
|
|
|
1263
|
-
|
|
|
1264
|
-
|
|
|
1265
|
-
|
|
|
1266
|
-
|
|
|
1267
|
-
|
|
|
1094
|
+
export type SearchKnowledgeFilterByOr$Outbound =
|
|
1095
|
+
| SearchKnowledgeOrEq$Outbound
|
|
1096
|
+
| SearchKnowledgeOrNe$Outbound
|
|
1097
|
+
| SearchKnowledgeOr3$Outbound
|
|
1098
|
+
| SearchKnowledgeOrGte$Outbound
|
|
1099
|
+
| SearchKnowledgeOrLt$Outbound
|
|
1100
|
+
| SearchKnowledgeOrLte$Outbound
|
|
1101
|
+
| SearchKnowledgeOrIn$Outbound
|
|
1102
|
+
| SearchKnowledgeOrNin$Outbound
|
|
1103
|
+
| SearchKnowledgeOrExists$Outbound;
|
|
1268
1104
|
|
|
1269
1105
|
/** @internal */
|
|
1270
|
-
export const
|
|
1271
|
-
|
|
1106
|
+
export const SearchKnowledgeFilterByOr$outboundSchema: z.ZodType<
|
|
1107
|
+
SearchKnowledgeFilterByOr$Outbound,
|
|
1272
1108
|
z.ZodTypeDef,
|
|
1273
|
-
|
|
1109
|
+
SearchKnowledgeFilterByOr
|
|
1274
1110
|
> = z.union([
|
|
1275
|
-
z.lazy(() =>
|
|
1276
|
-
z.lazy(() =>
|
|
1277
|
-
z.lazy(() =>
|
|
1278
|
-
z.lazy(() =>
|
|
1279
|
-
z.lazy(() =>
|
|
1280
|
-
z.lazy(() =>
|
|
1281
|
-
z.lazy(() =>
|
|
1282
|
-
z.lazy(() =>
|
|
1283
|
-
z.lazy(() =>
|
|
1111
|
+
z.lazy(() => SearchKnowledgeOrEq$outboundSchema),
|
|
1112
|
+
z.lazy(() => SearchKnowledgeOrNe$outboundSchema),
|
|
1113
|
+
z.lazy(() => SearchKnowledgeOr3$outboundSchema),
|
|
1114
|
+
z.lazy(() => SearchKnowledgeOrGte$outboundSchema),
|
|
1115
|
+
z.lazy(() => SearchKnowledgeOrLt$outboundSchema),
|
|
1116
|
+
z.lazy(() => SearchKnowledgeOrLte$outboundSchema),
|
|
1117
|
+
z.lazy(() => SearchKnowledgeOrIn$outboundSchema),
|
|
1118
|
+
z.lazy(() => SearchKnowledgeOrNin$outboundSchema),
|
|
1119
|
+
z.lazy(() => SearchKnowledgeOrExists$outboundSchema),
|
|
1284
1120
|
]);
|
|
1285
1121
|
|
|
1286
1122
|
/**
|
|
1287
1123
|
* @internal
|
|
1288
1124
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1289
1125
|
*/
|
|
1290
|
-
export namespace
|
|
1291
|
-
/** @deprecated use `
|
|
1292
|
-
export const inboundSchema =
|
|
1293
|
-
/** @deprecated use `
|
|
1294
|
-
export const outboundSchema =
|
|
1295
|
-
/** @deprecated use `
|
|
1296
|
-
export type Outbound =
|
|
1126
|
+
export namespace SearchKnowledgeFilterByOr$ {
|
|
1127
|
+
/** @deprecated use `SearchKnowledgeFilterByOr$inboundSchema` instead. */
|
|
1128
|
+
export const inboundSchema = SearchKnowledgeFilterByOr$inboundSchema;
|
|
1129
|
+
/** @deprecated use `SearchKnowledgeFilterByOr$outboundSchema` instead. */
|
|
1130
|
+
export const outboundSchema = SearchKnowledgeFilterByOr$outboundSchema;
|
|
1131
|
+
/** @deprecated use `SearchKnowledgeFilterByOr$Outbound` instead. */
|
|
1132
|
+
export type Outbound = SearchKnowledgeFilterByOr$Outbound;
|
|
1297
1133
|
}
|
|
1298
1134
|
|
|
1299
|
-
export function
|
|
1300
|
-
|
|
1135
|
+
export function searchKnowledgeFilterByOrToJSON(
|
|
1136
|
+
searchKnowledgeFilterByOr: SearchKnowledgeFilterByOr,
|
|
1301
1137
|
): string {
|
|
1302
1138
|
return JSON.stringify(
|
|
1303
|
-
|
|
1304
|
-
searchKnowledgeFilterDollarOr,
|
|
1305
|
-
),
|
|
1139
|
+
SearchKnowledgeFilterByOr$outboundSchema.parse(searchKnowledgeFilterByOr),
|
|
1306
1140
|
);
|
|
1307
1141
|
}
|
|
1308
1142
|
|
|
1309
|
-
export function
|
|
1143
|
+
export function searchKnowledgeFilterByOrFromJSON(
|
|
1310
1144
|
jsonString: string,
|
|
1311
|
-
): SafeParseResult<
|
|
1145
|
+
): SafeParseResult<SearchKnowledgeFilterByOr, SDKValidationError> {
|
|
1312
1146
|
return safeParse(
|
|
1313
1147
|
jsonString,
|
|
1314
|
-
(x) =>
|
|
1315
|
-
`Failed to parse '
|
|
1148
|
+
(x) => SearchKnowledgeFilterByOr$inboundSchema.parse(JSON.parse(x)),
|
|
1149
|
+
`Failed to parse 'SearchKnowledgeFilterByOr' from JSON`,
|
|
1316
1150
|
);
|
|
1317
1151
|
}
|
|
1318
1152
|
|
|
1319
1153
|
/** @internal */
|
|
1320
|
-
export const
|
|
1321
|
-
|
|
1154
|
+
export const FilterByOr$inboundSchema: z.ZodType<
|
|
1155
|
+
FilterByOr,
|
|
1322
1156
|
z.ZodTypeDef,
|
|
1323
1157
|
unknown
|
|
1324
1158
|
> = z.object({
|
|
1325
|
-
|
|
1159
|
+
or: z.array(
|
|
1326
1160
|
z.record(z.union([
|
|
1327
|
-
z.lazy(() =>
|
|
1161
|
+
z.lazy(() => SearchKnowledgeOrEq$inboundSchema),
|
|
1328
1162
|
z.lazy(() =>
|
|
1329
|
-
|
|
1163
|
+
SearchKnowledgeOrNe$inboundSchema
|
|
1330
1164
|
),
|
|
1331
|
-
z.lazy(() =>
|
|
1332
|
-
z.lazy(() =>
|
|
1333
|
-
z.lazy(() =>
|
|
1334
|
-
z.lazy(() =>
|
|
1335
|
-
z.lazy(() =>
|
|
1336
|
-
z.lazy(() =>
|
|
1337
|
-
z.lazy(() =>
|
|
1165
|
+
z.lazy(() => SearchKnowledgeOr3$inboundSchema),
|
|
1166
|
+
z.lazy(() => SearchKnowledgeOrGte$inboundSchema),
|
|
1167
|
+
z.lazy(() => SearchKnowledgeOrLt$inboundSchema),
|
|
1168
|
+
z.lazy(() => SearchKnowledgeOrLte$inboundSchema),
|
|
1169
|
+
z.lazy(() => SearchKnowledgeOrIn$inboundSchema),
|
|
1170
|
+
z.lazy(() => SearchKnowledgeOrNin$inboundSchema),
|
|
1171
|
+
z.lazy(() => SearchKnowledgeOrExists$inboundSchema),
|
|
1338
1172
|
])),
|
|
1339
1173
|
),
|
|
1340
|
-
}).transform((v) => {
|
|
1341
|
-
return remap$(v, {
|
|
1342
|
-
"$or": "dollarOr",
|
|
1343
|
-
});
|
|
1344
1174
|
});
|
|
1345
1175
|
|
|
1346
1176
|
/** @internal */
|
|
1347
|
-
export type
|
|
1348
|
-
|
|
1177
|
+
export type FilterByOr$Outbound = {
|
|
1178
|
+
or: Array<
|
|
1349
1179
|
{
|
|
1350
1180
|
[k: string]:
|
|
1351
|
-
|
|
|
1352
|
-
|
|
|
1353
|
-
|
|
|
1354
|
-
|
|
|
1355
|
-
|
|
|
1356
|
-
|
|
|
1357
|
-
|
|
|
1358
|
-
|
|
|
1359
|
-
|
|
|
1181
|
+
| SearchKnowledgeOrEq$Outbound
|
|
1182
|
+
| SearchKnowledgeOrNe$Outbound
|
|
1183
|
+
| SearchKnowledgeOr3$Outbound
|
|
1184
|
+
| SearchKnowledgeOrGte$Outbound
|
|
1185
|
+
| SearchKnowledgeOrLt$Outbound
|
|
1186
|
+
| SearchKnowledgeOrLte$Outbound
|
|
1187
|
+
| SearchKnowledgeOrIn$Outbound
|
|
1188
|
+
| SearchKnowledgeOrNin$Outbound
|
|
1189
|
+
| SearchKnowledgeOrExists$Outbound;
|
|
1360
1190
|
}
|
|
1361
1191
|
>;
|
|
1362
1192
|
};
|
|
1363
1193
|
|
|
1364
1194
|
/** @internal */
|
|
1365
|
-
export const
|
|
1366
|
-
|
|
1195
|
+
export const FilterByOr$outboundSchema: z.ZodType<
|
|
1196
|
+
FilterByOr$Outbound,
|
|
1367
1197
|
z.ZodTypeDef,
|
|
1368
|
-
|
|
1198
|
+
FilterByOr
|
|
1369
1199
|
> = z.object({
|
|
1370
|
-
|
|
1200
|
+
or: z.array(
|
|
1371
1201
|
z.record(z.union([
|
|
1372
|
-
z.lazy(() =>
|
|
1202
|
+
z.lazy(() => SearchKnowledgeOrEq$outboundSchema),
|
|
1373
1203
|
z.lazy(() =>
|
|
1374
|
-
|
|
1204
|
+
SearchKnowledgeOrNe$outboundSchema
|
|
1375
1205
|
),
|
|
1376
|
-
z.lazy(() =>
|
|
1377
|
-
z.lazy(() =>
|
|
1378
|
-
z.lazy(() =>
|
|
1379
|
-
z.lazy(() =>
|
|
1380
|
-
z.lazy(() =>
|
|
1381
|
-
z.lazy(() =>
|
|
1382
|
-
z.lazy(() =>
|
|
1206
|
+
z.lazy(() => SearchKnowledgeOr3$outboundSchema),
|
|
1207
|
+
z.lazy(() => SearchKnowledgeOrGte$outboundSchema),
|
|
1208
|
+
z.lazy(() => SearchKnowledgeOrLt$outboundSchema),
|
|
1209
|
+
z.lazy(() => SearchKnowledgeOrLte$outboundSchema),
|
|
1210
|
+
z.lazy(() => SearchKnowledgeOrIn$outboundSchema),
|
|
1211
|
+
z.lazy(() => SearchKnowledgeOrNin$outboundSchema),
|
|
1212
|
+
z.lazy(() => SearchKnowledgeOrExists$outboundSchema),
|
|
1383
1213
|
])),
|
|
1384
1214
|
),
|
|
1385
|
-
}).transform((v) => {
|
|
1386
|
-
return remap$(v, {
|
|
1387
|
-
dollarOr: "$or",
|
|
1388
|
-
});
|
|
1389
1215
|
});
|
|
1390
1216
|
|
|
1391
1217
|
/**
|
|
1392
1218
|
* @internal
|
|
1393
1219
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1394
1220
|
*/
|
|
1395
|
-
export namespace
|
|
1396
|
-
/** @deprecated use `
|
|
1397
|
-
export const inboundSchema =
|
|
1398
|
-
/** @deprecated use `
|
|
1399
|
-
export const outboundSchema =
|
|
1400
|
-
/** @deprecated use `
|
|
1401
|
-
export type Outbound =
|
|
1221
|
+
export namespace FilterByOr$ {
|
|
1222
|
+
/** @deprecated use `FilterByOr$inboundSchema` instead. */
|
|
1223
|
+
export const inboundSchema = FilterByOr$inboundSchema;
|
|
1224
|
+
/** @deprecated use `FilterByOr$outboundSchema` instead. */
|
|
1225
|
+
export const outboundSchema = FilterByOr$outboundSchema;
|
|
1226
|
+
/** @deprecated use `FilterByOr$Outbound` instead. */
|
|
1227
|
+
export type Outbound = FilterByOr$Outbound;
|
|
1402
1228
|
}
|
|
1403
1229
|
|
|
1404
|
-
export function
|
|
1405
|
-
return JSON.stringify(
|
|
1230
|
+
export function filterByOrToJSON(filterByOr: FilterByOr): string {
|
|
1231
|
+
return JSON.stringify(FilterByOr$outboundSchema.parse(filterByOr));
|
|
1406
1232
|
}
|
|
1407
1233
|
|
|
1408
|
-
export function
|
|
1234
|
+
export function filterByOrFromJSON(
|
|
1409
1235
|
jsonString: string,
|
|
1410
|
-
): SafeParseResult<
|
|
1236
|
+
): SafeParseResult<FilterByOr, SDKValidationError> {
|
|
1411
1237
|
return safeParse(
|
|
1412
1238
|
jsonString,
|
|
1413
|
-
(x) =>
|
|
1414
|
-
`Failed to parse '
|
|
1239
|
+
(x) => FilterByOr$inboundSchema.parse(JSON.parse(x)),
|
|
1240
|
+
`Failed to parse 'FilterByOr' from JSON`,
|
|
1415
1241
|
);
|
|
1416
1242
|
}
|
|
1417
1243
|
|
|
1418
1244
|
/** @internal */
|
|
1419
|
-
export const
|
|
1420
|
-
|
|
1245
|
+
export const SearchKnowledgeAndExists$inboundSchema: z.ZodType<
|
|
1246
|
+
SearchKnowledgeAndExists,
|
|
1421
1247
|
z.ZodTypeDef,
|
|
1422
1248
|
unknown
|
|
1423
1249
|
> = z.object({
|
|
1424
|
-
|
|
1425
|
-
}).transform((v) => {
|
|
1426
|
-
return remap$(v, {
|
|
1427
|
-
"$exists": "dollarExists",
|
|
1428
|
-
});
|
|
1250
|
+
exists: z.boolean(),
|
|
1429
1251
|
});
|
|
1430
1252
|
|
|
1431
1253
|
/** @internal */
|
|
1432
|
-
export type
|
|
1433
|
-
|
|
1254
|
+
export type SearchKnowledgeAndExists$Outbound = {
|
|
1255
|
+
exists: boolean;
|
|
1434
1256
|
};
|
|
1435
1257
|
|
|
1436
1258
|
/** @internal */
|
|
1437
|
-
export const
|
|
1438
|
-
|
|
1259
|
+
export const SearchKnowledgeAndExists$outboundSchema: z.ZodType<
|
|
1260
|
+
SearchKnowledgeAndExists$Outbound,
|
|
1439
1261
|
z.ZodTypeDef,
|
|
1440
|
-
|
|
1262
|
+
SearchKnowledgeAndExists
|
|
1441
1263
|
> = z.object({
|
|
1442
|
-
|
|
1443
|
-
}).transform((v) => {
|
|
1444
|
-
return remap$(v, {
|
|
1445
|
-
dollarExists: "$exists",
|
|
1446
|
-
});
|
|
1264
|
+
exists: z.boolean(),
|
|
1447
1265
|
});
|
|
1448
1266
|
|
|
1449
1267
|
/**
|
|
1450
1268
|
* @internal
|
|
1451
1269
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1452
1270
|
*/
|
|
1453
|
-
export namespace
|
|
1454
|
-
/** @deprecated use `
|
|
1455
|
-
export const inboundSchema =
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
/** @deprecated use `SearchKnowledgeDollarAndDollarExists$Outbound` instead. */
|
|
1461
|
-
export type Outbound = SearchKnowledgeDollarAndDollarExists$Outbound;
|
|
1271
|
+
export namespace SearchKnowledgeAndExists$ {
|
|
1272
|
+
/** @deprecated use `SearchKnowledgeAndExists$inboundSchema` instead. */
|
|
1273
|
+
export const inboundSchema = SearchKnowledgeAndExists$inboundSchema;
|
|
1274
|
+
/** @deprecated use `SearchKnowledgeAndExists$outboundSchema` instead. */
|
|
1275
|
+
export const outboundSchema = SearchKnowledgeAndExists$outboundSchema;
|
|
1276
|
+
/** @deprecated use `SearchKnowledgeAndExists$Outbound` instead. */
|
|
1277
|
+
export type Outbound = SearchKnowledgeAndExists$Outbound;
|
|
1462
1278
|
}
|
|
1463
1279
|
|
|
1464
|
-
export function
|
|
1465
|
-
|
|
1280
|
+
export function searchKnowledgeAndExistsToJSON(
|
|
1281
|
+
searchKnowledgeAndExists: SearchKnowledgeAndExists,
|
|
1466
1282
|
): string {
|
|
1467
1283
|
return JSON.stringify(
|
|
1468
|
-
|
|
1469
|
-
searchKnowledgeDollarAndDollarExists,
|
|
1470
|
-
),
|
|
1284
|
+
SearchKnowledgeAndExists$outboundSchema.parse(searchKnowledgeAndExists),
|
|
1471
1285
|
);
|
|
1472
1286
|
}
|
|
1473
1287
|
|
|
1474
|
-
export function
|
|
1288
|
+
export function searchKnowledgeAndExistsFromJSON(
|
|
1475
1289
|
jsonString: string,
|
|
1476
|
-
): SafeParseResult<
|
|
1290
|
+
): SafeParseResult<SearchKnowledgeAndExists, SDKValidationError> {
|
|
1477
1291
|
return safeParse(
|
|
1478
1292
|
jsonString,
|
|
1479
|
-
(x) =>
|
|
1480
|
-
|
|
1481
|
-
`Failed to parse 'SearchKnowledgeDollarAndDollarExists' from JSON`,
|
|
1293
|
+
(x) => SearchKnowledgeAndExists$inboundSchema.parse(JSON.parse(x)),
|
|
1294
|
+
`Failed to parse 'SearchKnowledgeAndExists' from JSON`,
|
|
1482
1295
|
);
|
|
1483
1296
|
}
|
|
1484
1297
|
|
|
1485
1298
|
/** @internal */
|
|
1486
|
-
export const
|
|
1487
|
-
|
|
1488
|
-
|
|
1299
|
+
export const SearchKnowledgeAndKnowledgeNin$inboundSchema: z.ZodType<
|
|
1300
|
+
SearchKnowledgeAndKnowledgeNin,
|
|
1301
|
+
z.ZodTypeDef,
|
|
1302
|
+
unknown
|
|
1303
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1489
1304
|
|
|
1490
1305
|
/** @internal */
|
|
1491
|
-
export type
|
|
1492
|
-
| string
|
|
1493
|
-
| number
|
|
1494
|
-
| boolean;
|
|
1306
|
+
export type SearchKnowledgeAndKnowledgeNin$Outbound = string | number | boolean;
|
|
1495
1307
|
|
|
1496
1308
|
/** @internal */
|
|
1497
|
-
export const
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1309
|
+
export const SearchKnowledgeAndKnowledgeNin$outboundSchema: z.ZodType<
|
|
1310
|
+
SearchKnowledgeAndKnowledgeNin$Outbound,
|
|
1311
|
+
z.ZodTypeDef,
|
|
1312
|
+
SearchKnowledgeAndKnowledgeNin
|
|
1313
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1503
1314
|
|
|
1504
1315
|
/**
|
|
1505
1316
|
* @internal
|
|
1506
1317
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1507
1318
|
*/
|
|
1508
|
-
export namespace
|
|
1509
|
-
/** @deprecated use `
|
|
1510
|
-
export const inboundSchema =
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
/** @deprecated use `SearchKnowledgeDollarAndKnowledgeDollarNin$Outbound` instead. */
|
|
1516
|
-
export type Outbound = SearchKnowledgeDollarAndKnowledgeDollarNin$Outbound;
|
|
1319
|
+
export namespace SearchKnowledgeAndKnowledgeNin$ {
|
|
1320
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeNin$inboundSchema` instead. */
|
|
1321
|
+
export const inboundSchema = SearchKnowledgeAndKnowledgeNin$inboundSchema;
|
|
1322
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeNin$outboundSchema` instead. */
|
|
1323
|
+
export const outboundSchema = SearchKnowledgeAndKnowledgeNin$outboundSchema;
|
|
1324
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeNin$Outbound` instead. */
|
|
1325
|
+
export type Outbound = SearchKnowledgeAndKnowledgeNin$Outbound;
|
|
1517
1326
|
}
|
|
1518
1327
|
|
|
1519
|
-
export function
|
|
1520
|
-
|
|
1521
|
-
SearchKnowledgeDollarAndKnowledgeDollarNin,
|
|
1328
|
+
export function searchKnowledgeAndKnowledgeNinToJSON(
|
|
1329
|
+
searchKnowledgeAndKnowledgeNin: SearchKnowledgeAndKnowledgeNin,
|
|
1522
1330
|
): string {
|
|
1523
1331
|
return JSON.stringify(
|
|
1524
|
-
|
|
1525
|
-
|
|
1332
|
+
SearchKnowledgeAndKnowledgeNin$outboundSchema.parse(
|
|
1333
|
+
searchKnowledgeAndKnowledgeNin,
|
|
1526
1334
|
),
|
|
1527
1335
|
);
|
|
1528
1336
|
}
|
|
1529
1337
|
|
|
1530
|
-
export function
|
|
1338
|
+
export function searchKnowledgeAndKnowledgeNinFromJSON(
|
|
1531
1339
|
jsonString: string,
|
|
1532
|
-
): SafeParseResult<
|
|
1533
|
-
SearchKnowledgeDollarAndKnowledgeDollarNin,
|
|
1534
|
-
SDKValidationError
|
|
1535
|
-
> {
|
|
1340
|
+
): SafeParseResult<SearchKnowledgeAndKnowledgeNin, SDKValidationError> {
|
|
1536
1341
|
return safeParse(
|
|
1537
1342
|
jsonString,
|
|
1538
|
-
(x) =>
|
|
1539
|
-
|
|
1540
|
-
JSON.parse(x),
|
|
1541
|
-
),
|
|
1542
|
-
`Failed to parse 'SearchKnowledgeDollarAndKnowledgeDollarNin' from JSON`,
|
|
1343
|
+
(x) => SearchKnowledgeAndKnowledgeNin$inboundSchema.parse(JSON.parse(x)),
|
|
1344
|
+
`Failed to parse 'SearchKnowledgeAndKnowledgeNin' from JSON`,
|
|
1543
1345
|
);
|
|
1544
1346
|
}
|
|
1545
1347
|
|
|
1546
1348
|
/** @internal */
|
|
1547
|
-
export const
|
|
1548
|
-
|
|
1349
|
+
export const SearchKnowledgeAndNin$inboundSchema: z.ZodType<
|
|
1350
|
+
SearchKnowledgeAndNin,
|
|
1549
1351
|
z.ZodTypeDef,
|
|
1550
1352
|
unknown
|
|
1551
1353
|
> = z.object({
|
|
1552
|
-
|
|
1553
|
-
}).transform((v) => {
|
|
1554
|
-
return remap$(v, {
|
|
1555
|
-
"$nin": "dollarNin",
|
|
1556
|
-
});
|
|
1354
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1557
1355
|
});
|
|
1558
1356
|
|
|
1559
1357
|
/** @internal */
|
|
1560
|
-
export type
|
|
1561
|
-
|
|
1358
|
+
export type SearchKnowledgeAndNin$Outbound = {
|
|
1359
|
+
nin: Array<string | number | boolean>;
|
|
1562
1360
|
};
|
|
1563
1361
|
|
|
1564
1362
|
/** @internal */
|
|
1565
|
-
export const
|
|
1566
|
-
|
|
1363
|
+
export const SearchKnowledgeAndNin$outboundSchema: z.ZodType<
|
|
1364
|
+
SearchKnowledgeAndNin$Outbound,
|
|
1567
1365
|
z.ZodTypeDef,
|
|
1568
|
-
|
|
1366
|
+
SearchKnowledgeAndNin
|
|
1569
1367
|
> = z.object({
|
|
1570
|
-
|
|
1571
|
-
}).transform((v) => {
|
|
1572
|
-
return remap$(v, {
|
|
1573
|
-
dollarNin: "$nin",
|
|
1574
|
-
});
|
|
1368
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1575
1369
|
});
|
|
1576
1370
|
|
|
1577
1371
|
/**
|
|
1578
1372
|
* @internal
|
|
1579
1373
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1580
1374
|
*/
|
|
1581
|
-
export namespace
|
|
1582
|
-
/** @deprecated use `
|
|
1583
|
-
export const inboundSchema =
|
|
1584
|
-
/** @deprecated use `
|
|
1585
|
-
export const outboundSchema =
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
export type Outbound = SearchKnowledgeDollarAndDollarNin$Outbound;
|
|
1375
|
+
export namespace SearchKnowledgeAndNin$ {
|
|
1376
|
+
/** @deprecated use `SearchKnowledgeAndNin$inboundSchema` instead. */
|
|
1377
|
+
export const inboundSchema = SearchKnowledgeAndNin$inboundSchema;
|
|
1378
|
+
/** @deprecated use `SearchKnowledgeAndNin$outboundSchema` instead. */
|
|
1379
|
+
export const outboundSchema = SearchKnowledgeAndNin$outboundSchema;
|
|
1380
|
+
/** @deprecated use `SearchKnowledgeAndNin$Outbound` instead. */
|
|
1381
|
+
export type Outbound = SearchKnowledgeAndNin$Outbound;
|
|
1589
1382
|
}
|
|
1590
1383
|
|
|
1591
|
-
export function
|
|
1592
|
-
|
|
1384
|
+
export function searchKnowledgeAndNinToJSON(
|
|
1385
|
+
searchKnowledgeAndNin: SearchKnowledgeAndNin,
|
|
1593
1386
|
): string {
|
|
1594
1387
|
return JSON.stringify(
|
|
1595
|
-
|
|
1596
|
-
searchKnowledgeDollarAndDollarNin,
|
|
1597
|
-
),
|
|
1388
|
+
SearchKnowledgeAndNin$outboundSchema.parse(searchKnowledgeAndNin),
|
|
1598
1389
|
);
|
|
1599
1390
|
}
|
|
1600
1391
|
|
|
1601
|
-
export function
|
|
1392
|
+
export function searchKnowledgeAndNinFromJSON(
|
|
1602
1393
|
jsonString: string,
|
|
1603
|
-
): SafeParseResult<
|
|
1394
|
+
): SafeParseResult<SearchKnowledgeAndNin, SDKValidationError> {
|
|
1604
1395
|
return safeParse(
|
|
1605
1396
|
jsonString,
|
|
1606
|
-
(x) =>
|
|
1607
|
-
`Failed to parse '
|
|
1397
|
+
(x) => SearchKnowledgeAndNin$inboundSchema.parse(JSON.parse(x)),
|
|
1398
|
+
`Failed to parse 'SearchKnowledgeAndNin' from JSON`,
|
|
1608
1399
|
);
|
|
1609
1400
|
}
|
|
1610
1401
|
|
|
1611
1402
|
/** @internal */
|
|
1612
|
-
export const
|
|
1613
|
-
|
|
1403
|
+
export const SearchKnowledgeAndKnowledgeIn$inboundSchema: z.ZodType<
|
|
1404
|
+
SearchKnowledgeAndKnowledgeIn,
|
|
1614
1405
|
z.ZodTypeDef,
|
|
1615
1406
|
unknown
|
|
1616
1407
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1617
1408
|
|
|
1618
1409
|
/** @internal */
|
|
1619
|
-
export type
|
|
1620
|
-
| string
|
|
1621
|
-
| number
|
|
1622
|
-
| boolean;
|
|
1410
|
+
export type SearchKnowledgeAndKnowledgeIn$Outbound = string | number | boolean;
|
|
1623
1411
|
|
|
1624
1412
|
/** @internal */
|
|
1625
|
-
export const
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1413
|
+
export const SearchKnowledgeAndKnowledgeIn$outboundSchema: z.ZodType<
|
|
1414
|
+
SearchKnowledgeAndKnowledgeIn$Outbound,
|
|
1415
|
+
z.ZodTypeDef,
|
|
1416
|
+
SearchKnowledgeAndKnowledgeIn
|
|
1417
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1631
1418
|
|
|
1632
1419
|
/**
|
|
1633
1420
|
* @internal
|
|
1634
1421
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1635
1422
|
*/
|
|
1636
|
-
export namespace
|
|
1637
|
-
/** @deprecated use `
|
|
1638
|
-
export const inboundSchema =
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
/** @deprecated use `SearchKnowledgeDollarAndKnowledgeDollarIn$Outbound` instead. */
|
|
1644
|
-
export type Outbound = SearchKnowledgeDollarAndKnowledgeDollarIn$Outbound;
|
|
1423
|
+
export namespace SearchKnowledgeAndKnowledgeIn$ {
|
|
1424
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeIn$inboundSchema` instead. */
|
|
1425
|
+
export const inboundSchema = SearchKnowledgeAndKnowledgeIn$inboundSchema;
|
|
1426
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeIn$outboundSchema` instead. */
|
|
1427
|
+
export const outboundSchema = SearchKnowledgeAndKnowledgeIn$outboundSchema;
|
|
1428
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeIn$Outbound` instead. */
|
|
1429
|
+
export type Outbound = SearchKnowledgeAndKnowledgeIn$Outbound;
|
|
1645
1430
|
}
|
|
1646
1431
|
|
|
1647
|
-
export function
|
|
1648
|
-
|
|
1649
|
-
SearchKnowledgeDollarAndKnowledgeDollarIn,
|
|
1432
|
+
export function searchKnowledgeAndKnowledgeInToJSON(
|
|
1433
|
+
searchKnowledgeAndKnowledgeIn: SearchKnowledgeAndKnowledgeIn,
|
|
1650
1434
|
): string {
|
|
1651
1435
|
return JSON.stringify(
|
|
1652
|
-
|
|
1653
|
-
|
|
1436
|
+
SearchKnowledgeAndKnowledgeIn$outboundSchema.parse(
|
|
1437
|
+
searchKnowledgeAndKnowledgeIn,
|
|
1654
1438
|
),
|
|
1655
1439
|
);
|
|
1656
1440
|
}
|
|
1657
1441
|
|
|
1658
|
-
export function
|
|
1442
|
+
export function searchKnowledgeAndKnowledgeInFromJSON(
|
|
1659
1443
|
jsonString: string,
|
|
1660
|
-
): SafeParseResult<
|
|
1661
|
-
SearchKnowledgeDollarAndKnowledgeDollarIn,
|
|
1662
|
-
SDKValidationError
|
|
1663
|
-
> {
|
|
1444
|
+
): SafeParseResult<SearchKnowledgeAndKnowledgeIn, SDKValidationError> {
|
|
1664
1445
|
return safeParse(
|
|
1665
1446
|
jsonString,
|
|
1666
|
-
(x) =>
|
|
1667
|
-
|
|
1668
|
-
JSON.parse(x),
|
|
1669
|
-
),
|
|
1670
|
-
`Failed to parse 'SearchKnowledgeDollarAndKnowledgeDollarIn' from JSON`,
|
|
1447
|
+
(x) => SearchKnowledgeAndKnowledgeIn$inboundSchema.parse(JSON.parse(x)),
|
|
1448
|
+
`Failed to parse 'SearchKnowledgeAndKnowledgeIn' from JSON`,
|
|
1671
1449
|
);
|
|
1672
1450
|
}
|
|
1673
1451
|
|
|
1674
1452
|
/** @internal */
|
|
1675
|
-
export const
|
|
1676
|
-
|
|
1453
|
+
export const SearchKnowledgeAndIn$inboundSchema: z.ZodType<
|
|
1454
|
+
SearchKnowledgeAndIn,
|
|
1677
1455
|
z.ZodTypeDef,
|
|
1678
1456
|
unknown
|
|
1679
1457
|
> = z.object({
|
|
1680
|
-
|
|
1681
|
-
}).transform((v) => {
|
|
1682
|
-
return remap$(v, {
|
|
1683
|
-
"$in": "dollarIn",
|
|
1684
|
-
});
|
|
1458
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1685
1459
|
});
|
|
1686
1460
|
|
|
1687
1461
|
/** @internal */
|
|
1688
|
-
export type
|
|
1689
|
-
|
|
1462
|
+
export type SearchKnowledgeAndIn$Outbound = {
|
|
1463
|
+
in: Array<string | number | boolean>;
|
|
1690
1464
|
};
|
|
1691
1465
|
|
|
1692
1466
|
/** @internal */
|
|
1693
|
-
export const
|
|
1694
|
-
|
|
1467
|
+
export const SearchKnowledgeAndIn$outboundSchema: z.ZodType<
|
|
1468
|
+
SearchKnowledgeAndIn$Outbound,
|
|
1695
1469
|
z.ZodTypeDef,
|
|
1696
|
-
|
|
1470
|
+
SearchKnowledgeAndIn
|
|
1697
1471
|
> = z.object({
|
|
1698
|
-
|
|
1699
|
-
}).transform((v) => {
|
|
1700
|
-
return remap$(v, {
|
|
1701
|
-
dollarIn: "$in",
|
|
1702
|
-
});
|
|
1472
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1703
1473
|
});
|
|
1704
1474
|
|
|
1705
1475
|
/**
|
|
1706
1476
|
* @internal
|
|
1707
1477
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1708
1478
|
*/
|
|
1709
|
-
export namespace
|
|
1710
|
-
/** @deprecated use `
|
|
1711
|
-
export const inboundSchema =
|
|
1712
|
-
/** @deprecated use `
|
|
1713
|
-
export const outboundSchema =
|
|
1714
|
-
/** @deprecated use `
|
|
1715
|
-
export type Outbound =
|
|
1479
|
+
export namespace SearchKnowledgeAndIn$ {
|
|
1480
|
+
/** @deprecated use `SearchKnowledgeAndIn$inboundSchema` instead. */
|
|
1481
|
+
export const inboundSchema = SearchKnowledgeAndIn$inboundSchema;
|
|
1482
|
+
/** @deprecated use `SearchKnowledgeAndIn$outboundSchema` instead. */
|
|
1483
|
+
export const outboundSchema = SearchKnowledgeAndIn$outboundSchema;
|
|
1484
|
+
/** @deprecated use `SearchKnowledgeAndIn$Outbound` instead. */
|
|
1485
|
+
export type Outbound = SearchKnowledgeAndIn$Outbound;
|
|
1716
1486
|
}
|
|
1717
1487
|
|
|
1718
|
-
export function
|
|
1719
|
-
|
|
1488
|
+
export function searchKnowledgeAndInToJSON(
|
|
1489
|
+
searchKnowledgeAndIn: SearchKnowledgeAndIn,
|
|
1720
1490
|
): string {
|
|
1721
1491
|
return JSON.stringify(
|
|
1722
|
-
|
|
1723
|
-
searchKnowledgeDollarAndDollarIn,
|
|
1724
|
-
),
|
|
1492
|
+
SearchKnowledgeAndIn$outboundSchema.parse(searchKnowledgeAndIn),
|
|
1725
1493
|
);
|
|
1726
1494
|
}
|
|
1727
1495
|
|
|
1728
|
-
export function
|
|
1496
|
+
export function searchKnowledgeAndInFromJSON(
|
|
1729
1497
|
jsonString: string,
|
|
1730
|
-
): SafeParseResult<
|
|
1498
|
+
): SafeParseResult<SearchKnowledgeAndIn, SDKValidationError> {
|
|
1731
1499
|
return safeParse(
|
|
1732
1500
|
jsonString,
|
|
1733
|
-
(x) =>
|
|
1734
|
-
`Failed to parse '
|
|
1501
|
+
(x) => SearchKnowledgeAndIn$inboundSchema.parse(JSON.parse(x)),
|
|
1502
|
+
`Failed to parse 'SearchKnowledgeAndIn' from JSON`,
|
|
1735
1503
|
);
|
|
1736
1504
|
}
|
|
1737
1505
|
|
|
1738
1506
|
/** @internal */
|
|
1739
|
-
export const
|
|
1740
|
-
|
|
1507
|
+
export const SearchKnowledgeAndLte$inboundSchema: z.ZodType<
|
|
1508
|
+
SearchKnowledgeAndLte,
|
|
1741
1509
|
z.ZodTypeDef,
|
|
1742
1510
|
unknown
|
|
1743
1511
|
> = z.object({
|
|
1744
|
-
|
|
1745
|
-
}).transform((v) => {
|
|
1746
|
-
return remap$(v, {
|
|
1747
|
-
"$lte": "dollarLte",
|
|
1748
|
-
});
|
|
1512
|
+
lte: z.number(),
|
|
1749
1513
|
});
|
|
1750
1514
|
|
|
1751
1515
|
/** @internal */
|
|
1752
|
-
export type
|
|
1753
|
-
|
|
1516
|
+
export type SearchKnowledgeAndLte$Outbound = {
|
|
1517
|
+
lte: number;
|
|
1754
1518
|
};
|
|
1755
1519
|
|
|
1756
1520
|
/** @internal */
|
|
1757
|
-
export const
|
|
1758
|
-
|
|
1521
|
+
export const SearchKnowledgeAndLte$outboundSchema: z.ZodType<
|
|
1522
|
+
SearchKnowledgeAndLte$Outbound,
|
|
1759
1523
|
z.ZodTypeDef,
|
|
1760
|
-
|
|
1524
|
+
SearchKnowledgeAndLte
|
|
1761
1525
|
> = z.object({
|
|
1762
|
-
|
|
1763
|
-
}).transform((v) => {
|
|
1764
|
-
return remap$(v, {
|
|
1765
|
-
dollarLte: "$lte",
|
|
1766
|
-
});
|
|
1526
|
+
lte: z.number(),
|
|
1767
1527
|
});
|
|
1768
1528
|
|
|
1769
1529
|
/**
|
|
1770
1530
|
* @internal
|
|
1771
1531
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1772
1532
|
*/
|
|
1773
|
-
export namespace
|
|
1774
|
-
/** @deprecated use `
|
|
1775
|
-
export const inboundSchema =
|
|
1776
|
-
/** @deprecated use `
|
|
1777
|
-
export const outboundSchema =
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
export type Outbound = SearchKnowledgeDollarAndDollarLte$Outbound;
|
|
1533
|
+
export namespace SearchKnowledgeAndLte$ {
|
|
1534
|
+
/** @deprecated use `SearchKnowledgeAndLte$inboundSchema` instead. */
|
|
1535
|
+
export const inboundSchema = SearchKnowledgeAndLte$inboundSchema;
|
|
1536
|
+
/** @deprecated use `SearchKnowledgeAndLte$outboundSchema` instead. */
|
|
1537
|
+
export const outboundSchema = SearchKnowledgeAndLte$outboundSchema;
|
|
1538
|
+
/** @deprecated use `SearchKnowledgeAndLte$Outbound` instead. */
|
|
1539
|
+
export type Outbound = SearchKnowledgeAndLte$Outbound;
|
|
1781
1540
|
}
|
|
1782
1541
|
|
|
1783
|
-
export function
|
|
1784
|
-
|
|
1542
|
+
export function searchKnowledgeAndLteToJSON(
|
|
1543
|
+
searchKnowledgeAndLte: SearchKnowledgeAndLte,
|
|
1785
1544
|
): string {
|
|
1786
1545
|
return JSON.stringify(
|
|
1787
|
-
|
|
1788
|
-
searchKnowledgeDollarAndDollarLte,
|
|
1789
|
-
),
|
|
1546
|
+
SearchKnowledgeAndLte$outboundSchema.parse(searchKnowledgeAndLte),
|
|
1790
1547
|
);
|
|
1791
1548
|
}
|
|
1792
1549
|
|
|
1793
|
-
export function
|
|
1550
|
+
export function searchKnowledgeAndLteFromJSON(
|
|
1794
1551
|
jsonString: string,
|
|
1795
|
-
): SafeParseResult<
|
|
1552
|
+
): SafeParseResult<SearchKnowledgeAndLte, SDKValidationError> {
|
|
1796
1553
|
return safeParse(
|
|
1797
1554
|
jsonString,
|
|
1798
|
-
(x) =>
|
|
1799
|
-
`Failed to parse '
|
|
1555
|
+
(x) => SearchKnowledgeAndLte$inboundSchema.parse(JSON.parse(x)),
|
|
1556
|
+
`Failed to parse 'SearchKnowledgeAndLte' from JSON`,
|
|
1800
1557
|
);
|
|
1801
1558
|
}
|
|
1802
1559
|
|
|
1803
1560
|
/** @internal */
|
|
1804
|
-
export const
|
|
1805
|
-
|
|
1561
|
+
export const SearchKnowledgeAndLt$inboundSchema: z.ZodType<
|
|
1562
|
+
SearchKnowledgeAndLt,
|
|
1806
1563
|
z.ZodTypeDef,
|
|
1807
1564
|
unknown
|
|
1808
1565
|
> = z.object({
|
|
1809
|
-
|
|
1810
|
-
}).transform((v) => {
|
|
1811
|
-
return remap$(v, {
|
|
1812
|
-
"$lt": "dollarLt",
|
|
1813
|
-
});
|
|
1566
|
+
lt: z.number(),
|
|
1814
1567
|
});
|
|
1815
1568
|
|
|
1816
1569
|
/** @internal */
|
|
1817
|
-
export type
|
|
1818
|
-
|
|
1570
|
+
export type SearchKnowledgeAndLt$Outbound = {
|
|
1571
|
+
lt: number;
|
|
1819
1572
|
};
|
|
1820
1573
|
|
|
1821
1574
|
/** @internal */
|
|
1822
|
-
export const
|
|
1823
|
-
|
|
1575
|
+
export const SearchKnowledgeAndLt$outboundSchema: z.ZodType<
|
|
1576
|
+
SearchKnowledgeAndLt$Outbound,
|
|
1824
1577
|
z.ZodTypeDef,
|
|
1825
|
-
|
|
1578
|
+
SearchKnowledgeAndLt
|
|
1826
1579
|
> = z.object({
|
|
1827
|
-
|
|
1828
|
-
}).transform((v) => {
|
|
1829
|
-
return remap$(v, {
|
|
1830
|
-
dollarLt: "$lt",
|
|
1831
|
-
});
|
|
1580
|
+
lt: z.number(),
|
|
1832
1581
|
});
|
|
1833
1582
|
|
|
1834
1583
|
/**
|
|
1835
1584
|
* @internal
|
|
1836
1585
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1837
1586
|
*/
|
|
1838
|
-
export namespace
|
|
1839
|
-
/** @deprecated use `
|
|
1840
|
-
export const inboundSchema =
|
|
1841
|
-
/** @deprecated use `
|
|
1842
|
-
export const outboundSchema =
|
|
1843
|
-
/** @deprecated use `
|
|
1844
|
-
export type Outbound =
|
|
1587
|
+
export namespace SearchKnowledgeAndLt$ {
|
|
1588
|
+
/** @deprecated use `SearchKnowledgeAndLt$inboundSchema` instead. */
|
|
1589
|
+
export const inboundSchema = SearchKnowledgeAndLt$inboundSchema;
|
|
1590
|
+
/** @deprecated use `SearchKnowledgeAndLt$outboundSchema` instead. */
|
|
1591
|
+
export const outboundSchema = SearchKnowledgeAndLt$outboundSchema;
|
|
1592
|
+
/** @deprecated use `SearchKnowledgeAndLt$Outbound` instead. */
|
|
1593
|
+
export type Outbound = SearchKnowledgeAndLt$Outbound;
|
|
1845
1594
|
}
|
|
1846
1595
|
|
|
1847
|
-
export function
|
|
1848
|
-
|
|
1596
|
+
export function searchKnowledgeAndLtToJSON(
|
|
1597
|
+
searchKnowledgeAndLt: SearchKnowledgeAndLt,
|
|
1849
1598
|
): string {
|
|
1850
1599
|
return JSON.stringify(
|
|
1851
|
-
|
|
1852
|
-
searchKnowledgeDollarAndDollarLt,
|
|
1853
|
-
),
|
|
1600
|
+
SearchKnowledgeAndLt$outboundSchema.parse(searchKnowledgeAndLt),
|
|
1854
1601
|
);
|
|
1855
1602
|
}
|
|
1856
1603
|
|
|
1857
|
-
export function
|
|
1604
|
+
export function searchKnowledgeAndLtFromJSON(
|
|
1858
1605
|
jsonString: string,
|
|
1859
|
-
): SafeParseResult<
|
|
1606
|
+
): SafeParseResult<SearchKnowledgeAndLt, SDKValidationError> {
|
|
1860
1607
|
return safeParse(
|
|
1861
1608
|
jsonString,
|
|
1862
|
-
(x) =>
|
|
1863
|
-
`Failed to parse '
|
|
1609
|
+
(x) => SearchKnowledgeAndLt$inboundSchema.parse(JSON.parse(x)),
|
|
1610
|
+
`Failed to parse 'SearchKnowledgeAndLt' from JSON`,
|
|
1864
1611
|
);
|
|
1865
1612
|
}
|
|
1866
1613
|
|
|
1867
1614
|
/** @internal */
|
|
1868
|
-
export const
|
|
1869
|
-
|
|
1615
|
+
export const SearchKnowledgeAndGte$inboundSchema: z.ZodType<
|
|
1616
|
+
SearchKnowledgeAndGte,
|
|
1870
1617
|
z.ZodTypeDef,
|
|
1871
1618
|
unknown
|
|
1872
1619
|
> = z.object({
|
|
1873
|
-
|
|
1874
|
-
}).transform((v) => {
|
|
1875
|
-
return remap$(v, {
|
|
1876
|
-
"$gte": "dollarGte",
|
|
1877
|
-
});
|
|
1620
|
+
gte: z.number(),
|
|
1878
1621
|
});
|
|
1879
1622
|
|
|
1880
1623
|
/** @internal */
|
|
1881
|
-
export type
|
|
1882
|
-
|
|
1624
|
+
export type SearchKnowledgeAndGte$Outbound = {
|
|
1625
|
+
gte: number;
|
|
1883
1626
|
};
|
|
1884
1627
|
|
|
1885
1628
|
/** @internal */
|
|
1886
|
-
export const
|
|
1887
|
-
|
|
1629
|
+
export const SearchKnowledgeAndGte$outboundSchema: z.ZodType<
|
|
1630
|
+
SearchKnowledgeAndGte$Outbound,
|
|
1888
1631
|
z.ZodTypeDef,
|
|
1889
|
-
|
|
1632
|
+
SearchKnowledgeAndGte
|
|
1890
1633
|
> = z.object({
|
|
1891
|
-
|
|
1892
|
-
}).transform((v) => {
|
|
1893
|
-
return remap$(v, {
|
|
1894
|
-
dollarGte: "$gte",
|
|
1895
|
-
});
|
|
1634
|
+
gte: z.number(),
|
|
1896
1635
|
});
|
|
1897
1636
|
|
|
1898
1637
|
/**
|
|
1899
1638
|
* @internal
|
|
1900
1639
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1901
1640
|
*/
|
|
1902
|
-
export namespace
|
|
1903
|
-
/** @deprecated use `
|
|
1904
|
-
export const inboundSchema =
|
|
1905
|
-
/** @deprecated use `
|
|
1906
|
-
export const outboundSchema =
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
export type Outbound = SearchKnowledgeDollarAndDollarGte$Outbound;
|
|
1641
|
+
export namespace SearchKnowledgeAndGte$ {
|
|
1642
|
+
/** @deprecated use `SearchKnowledgeAndGte$inboundSchema` instead. */
|
|
1643
|
+
export const inboundSchema = SearchKnowledgeAndGte$inboundSchema;
|
|
1644
|
+
/** @deprecated use `SearchKnowledgeAndGte$outboundSchema` instead. */
|
|
1645
|
+
export const outboundSchema = SearchKnowledgeAndGte$outboundSchema;
|
|
1646
|
+
/** @deprecated use `SearchKnowledgeAndGte$Outbound` instead. */
|
|
1647
|
+
export type Outbound = SearchKnowledgeAndGte$Outbound;
|
|
1910
1648
|
}
|
|
1911
1649
|
|
|
1912
|
-
export function
|
|
1913
|
-
|
|
1650
|
+
export function searchKnowledgeAndGteToJSON(
|
|
1651
|
+
searchKnowledgeAndGte: SearchKnowledgeAndGte,
|
|
1914
1652
|
): string {
|
|
1915
1653
|
return JSON.stringify(
|
|
1916
|
-
|
|
1917
|
-
searchKnowledgeDollarAndDollarGte,
|
|
1918
|
-
),
|
|
1654
|
+
SearchKnowledgeAndGte$outboundSchema.parse(searchKnowledgeAndGte),
|
|
1919
1655
|
);
|
|
1920
1656
|
}
|
|
1921
1657
|
|
|
1922
|
-
export function
|
|
1658
|
+
export function searchKnowledgeAndGteFromJSON(
|
|
1923
1659
|
jsonString: string,
|
|
1924
|
-
): SafeParseResult<
|
|
1660
|
+
): SafeParseResult<SearchKnowledgeAndGte, SDKValidationError> {
|
|
1925
1661
|
return safeParse(
|
|
1926
1662
|
jsonString,
|
|
1927
|
-
(x) =>
|
|
1928
|
-
`Failed to parse '
|
|
1663
|
+
(x) => SearchKnowledgeAndGte$inboundSchema.parse(JSON.parse(x)),
|
|
1664
|
+
`Failed to parse 'SearchKnowledgeAndGte' from JSON`,
|
|
1929
1665
|
);
|
|
1930
1666
|
}
|
|
1931
1667
|
|
|
1932
1668
|
/** @internal */
|
|
1933
|
-
export const
|
|
1934
|
-
|
|
1669
|
+
export const SearchKnowledgeAnd3$inboundSchema: z.ZodType<
|
|
1670
|
+
SearchKnowledgeAnd3,
|
|
1935
1671
|
z.ZodTypeDef,
|
|
1936
1672
|
unknown
|
|
1937
1673
|
> = z.object({
|
|
1938
|
-
|
|
1939
|
-
}).transform((v) => {
|
|
1940
|
-
return remap$(v, {
|
|
1941
|
-
"$gt": "dollarGt",
|
|
1942
|
-
});
|
|
1674
|
+
gt: z.number(),
|
|
1943
1675
|
});
|
|
1944
1676
|
|
|
1945
1677
|
/** @internal */
|
|
1946
|
-
export type
|
|
1947
|
-
|
|
1678
|
+
export type SearchKnowledgeAnd3$Outbound = {
|
|
1679
|
+
gt: number;
|
|
1948
1680
|
};
|
|
1949
1681
|
|
|
1950
1682
|
/** @internal */
|
|
1951
|
-
export const
|
|
1952
|
-
|
|
1683
|
+
export const SearchKnowledgeAnd3$outboundSchema: z.ZodType<
|
|
1684
|
+
SearchKnowledgeAnd3$Outbound,
|
|
1953
1685
|
z.ZodTypeDef,
|
|
1954
|
-
|
|
1686
|
+
SearchKnowledgeAnd3
|
|
1955
1687
|
> = z.object({
|
|
1956
|
-
|
|
1957
|
-
}).transform((v) => {
|
|
1958
|
-
return remap$(v, {
|
|
1959
|
-
dollarGt: "$gt",
|
|
1960
|
-
});
|
|
1688
|
+
gt: z.number(),
|
|
1961
1689
|
});
|
|
1962
1690
|
|
|
1963
1691
|
/**
|
|
1964
1692
|
* @internal
|
|
1965
1693
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1966
1694
|
*/
|
|
1967
|
-
export namespace
|
|
1968
|
-
/** @deprecated use `
|
|
1969
|
-
export const inboundSchema =
|
|
1970
|
-
/** @deprecated use `
|
|
1971
|
-
export const outboundSchema =
|
|
1972
|
-
/** @deprecated use `
|
|
1973
|
-
export type Outbound =
|
|
1695
|
+
export namespace SearchKnowledgeAnd3$ {
|
|
1696
|
+
/** @deprecated use `SearchKnowledgeAnd3$inboundSchema` instead. */
|
|
1697
|
+
export const inboundSchema = SearchKnowledgeAnd3$inboundSchema;
|
|
1698
|
+
/** @deprecated use `SearchKnowledgeAnd3$outboundSchema` instead. */
|
|
1699
|
+
export const outboundSchema = SearchKnowledgeAnd3$outboundSchema;
|
|
1700
|
+
/** @deprecated use `SearchKnowledgeAnd3$Outbound` instead. */
|
|
1701
|
+
export type Outbound = SearchKnowledgeAnd3$Outbound;
|
|
1974
1702
|
}
|
|
1975
1703
|
|
|
1976
|
-
export function
|
|
1977
|
-
|
|
1704
|
+
export function searchKnowledgeAnd3ToJSON(
|
|
1705
|
+
searchKnowledgeAnd3: SearchKnowledgeAnd3,
|
|
1978
1706
|
): string {
|
|
1979
1707
|
return JSON.stringify(
|
|
1980
|
-
|
|
1708
|
+
SearchKnowledgeAnd3$outboundSchema.parse(searchKnowledgeAnd3),
|
|
1981
1709
|
);
|
|
1982
1710
|
}
|
|
1983
1711
|
|
|
1984
|
-
export function
|
|
1712
|
+
export function searchKnowledgeAnd3FromJSON(
|
|
1985
1713
|
jsonString: string,
|
|
1986
|
-
): SafeParseResult<
|
|
1714
|
+
): SafeParseResult<SearchKnowledgeAnd3, SDKValidationError> {
|
|
1987
1715
|
return safeParse(
|
|
1988
1716
|
jsonString,
|
|
1989
|
-
(x) =>
|
|
1990
|
-
`Failed to parse '
|
|
1717
|
+
(x) => SearchKnowledgeAnd3$inboundSchema.parse(JSON.parse(x)),
|
|
1718
|
+
`Failed to parse 'SearchKnowledgeAnd3' from JSON`,
|
|
1991
1719
|
);
|
|
1992
1720
|
}
|
|
1993
1721
|
|
|
1994
1722
|
/** @internal */
|
|
1995
|
-
export const
|
|
1996
|
-
|
|
1723
|
+
export const SearchKnowledgeAndKnowledgeNe$inboundSchema: z.ZodType<
|
|
1724
|
+
SearchKnowledgeAndKnowledgeNe,
|
|
1997
1725
|
z.ZodTypeDef,
|
|
1998
1726
|
unknown
|
|
1999
1727
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2000
1728
|
|
|
2001
1729
|
/** @internal */
|
|
2002
|
-
export type
|
|
2003
|
-
| string
|
|
2004
|
-
| number
|
|
2005
|
-
| boolean;
|
|
1730
|
+
export type SearchKnowledgeAndKnowledgeNe$Outbound = string | number | boolean;
|
|
2006
1731
|
|
|
2007
1732
|
/** @internal */
|
|
2008
|
-
export const
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1733
|
+
export const SearchKnowledgeAndKnowledgeNe$outboundSchema: z.ZodType<
|
|
1734
|
+
SearchKnowledgeAndKnowledgeNe$Outbound,
|
|
1735
|
+
z.ZodTypeDef,
|
|
1736
|
+
SearchKnowledgeAndKnowledgeNe
|
|
1737
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2014
1738
|
|
|
2015
1739
|
/**
|
|
2016
1740
|
* @internal
|
|
2017
1741
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2018
1742
|
*/
|
|
2019
|
-
export namespace
|
|
2020
|
-
/** @deprecated use `
|
|
2021
|
-
export const inboundSchema =
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
/** @deprecated use `SearchKnowledgeDollarAndKnowledgeDollarNe$Outbound` instead. */
|
|
2027
|
-
export type Outbound = SearchKnowledgeDollarAndKnowledgeDollarNe$Outbound;
|
|
1743
|
+
export namespace SearchKnowledgeAndKnowledgeNe$ {
|
|
1744
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeNe$inboundSchema` instead. */
|
|
1745
|
+
export const inboundSchema = SearchKnowledgeAndKnowledgeNe$inboundSchema;
|
|
1746
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeNe$outboundSchema` instead. */
|
|
1747
|
+
export const outboundSchema = SearchKnowledgeAndKnowledgeNe$outboundSchema;
|
|
1748
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeNe$Outbound` instead. */
|
|
1749
|
+
export type Outbound = SearchKnowledgeAndKnowledgeNe$Outbound;
|
|
2028
1750
|
}
|
|
2029
1751
|
|
|
2030
|
-
export function
|
|
2031
|
-
|
|
2032
|
-
SearchKnowledgeDollarAndKnowledgeDollarNe,
|
|
1752
|
+
export function searchKnowledgeAndKnowledgeNeToJSON(
|
|
1753
|
+
searchKnowledgeAndKnowledgeNe: SearchKnowledgeAndKnowledgeNe,
|
|
2033
1754
|
): string {
|
|
2034
1755
|
return JSON.stringify(
|
|
2035
|
-
|
|
2036
|
-
|
|
1756
|
+
SearchKnowledgeAndKnowledgeNe$outboundSchema.parse(
|
|
1757
|
+
searchKnowledgeAndKnowledgeNe,
|
|
2037
1758
|
),
|
|
2038
1759
|
);
|
|
2039
1760
|
}
|
|
2040
1761
|
|
|
2041
|
-
export function
|
|
1762
|
+
export function searchKnowledgeAndKnowledgeNeFromJSON(
|
|
2042
1763
|
jsonString: string,
|
|
2043
|
-
): SafeParseResult<
|
|
2044
|
-
SearchKnowledgeDollarAndKnowledgeDollarNe,
|
|
2045
|
-
SDKValidationError
|
|
2046
|
-
> {
|
|
1764
|
+
): SafeParseResult<SearchKnowledgeAndKnowledgeNe, SDKValidationError> {
|
|
2047
1765
|
return safeParse(
|
|
2048
1766
|
jsonString,
|
|
2049
|
-
(x) =>
|
|
2050
|
-
|
|
2051
|
-
JSON.parse(x),
|
|
2052
|
-
),
|
|
2053
|
-
`Failed to parse 'SearchKnowledgeDollarAndKnowledgeDollarNe' from JSON`,
|
|
1767
|
+
(x) => SearchKnowledgeAndKnowledgeNe$inboundSchema.parse(JSON.parse(x)),
|
|
1768
|
+
`Failed to parse 'SearchKnowledgeAndKnowledgeNe' from JSON`,
|
|
2054
1769
|
);
|
|
2055
1770
|
}
|
|
2056
1771
|
|
|
2057
1772
|
/** @internal */
|
|
2058
|
-
export const
|
|
2059
|
-
|
|
1773
|
+
export const SearchKnowledgeAndNe$inboundSchema: z.ZodType<
|
|
1774
|
+
SearchKnowledgeAndNe,
|
|
2060
1775
|
z.ZodTypeDef,
|
|
2061
1776
|
unknown
|
|
2062
1777
|
> = z.object({
|
|
2063
|
-
|
|
2064
|
-
}).transform((v) => {
|
|
2065
|
-
return remap$(v, {
|
|
2066
|
-
"$ne": "dollarNe",
|
|
2067
|
-
});
|
|
1778
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
2068
1779
|
});
|
|
2069
1780
|
|
|
2070
1781
|
/** @internal */
|
|
2071
|
-
export type
|
|
2072
|
-
|
|
1782
|
+
export type SearchKnowledgeAndNe$Outbound = {
|
|
1783
|
+
ne: string | number | boolean;
|
|
2073
1784
|
};
|
|
2074
1785
|
|
|
2075
1786
|
/** @internal */
|
|
2076
|
-
export const
|
|
2077
|
-
|
|
1787
|
+
export const SearchKnowledgeAndNe$outboundSchema: z.ZodType<
|
|
1788
|
+
SearchKnowledgeAndNe$Outbound,
|
|
2078
1789
|
z.ZodTypeDef,
|
|
2079
|
-
|
|
1790
|
+
SearchKnowledgeAndNe
|
|
2080
1791
|
> = z.object({
|
|
2081
|
-
|
|
2082
|
-
}).transform((v) => {
|
|
2083
|
-
return remap$(v, {
|
|
2084
|
-
dollarNe: "$ne",
|
|
2085
|
-
});
|
|
1792
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
2086
1793
|
});
|
|
2087
1794
|
|
|
2088
1795
|
/**
|
|
2089
1796
|
* @internal
|
|
2090
1797
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2091
1798
|
*/
|
|
2092
|
-
export namespace
|
|
2093
|
-
/** @deprecated use `
|
|
2094
|
-
export const inboundSchema =
|
|
2095
|
-
/** @deprecated use `
|
|
2096
|
-
export const outboundSchema =
|
|
2097
|
-
/** @deprecated use `
|
|
2098
|
-
export type Outbound =
|
|
1799
|
+
export namespace SearchKnowledgeAndNe$ {
|
|
1800
|
+
/** @deprecated use `SearchKnowledgeAndNe$inboundSchema` instead. */
|
|
1801
|
+
export const inboundSchema = SearchKnowledgeAndNe$inboundSchema;
|
|
1802
|
+
/** @deprecated use `SearchKnowledgeAndNe$outboundSchema` instead. */
|
|
1803
|
+
export const outboundSchema = SearchKnowledgeAndNe$outboundSchema;
|
|
1804
|
+
/** @deprecated use `SearchKnowledgeAndNe$Outbound` instead. */
|
|
1805
|
+
export type Outbound = SearchKnowledgeAndNe$Outbound;
|
|
2099
1806
|
}
|
|
2100
1807
|
|
|
2101
|
-
export function
|
|
2102
|
-
|
|
1808
|
+
export function searchKnowledgeAndNeToJSON(
|
|
1809
|
+
searchKnowledgeAndNe: SearchKnowledgeAndNe,
|
|
2103
1810
|
): string {
|
|
2104
1811
|
return JSON.stringify(
|
|
2105
|
-
|
|
2106
|
-
searchKnowledgeDollarAndDollarNe,
|
|
2107
|
-
),
|
|
1812
|
+
SearchKnowledgeAndNe$outboundSchema.parse(searchKnowledgeAndNe),
|
|
2108
1813
|
);
|
|
2109
1814
|
}
|
|
2110
1815
|
|
|
2111
|
-
export function
|
|
1816
|
+
export function searchKnowledgeAndNeFromJSON(
|
|
2112
1817
|
jsonString: string,
|
|
2113
|
-
): SafeParseResult<
|
|
1818
|
+
): SafeParseResult<SearchKnowledgeAndNe, SDKValidationError> {
|
|
2114
1819
|
return safeParse(
|
|
2115
1820
|
jsonString,
|
|
2116
|
-
(x) =>
|
|
2117
|
-
`Failed to parse '
|
|
1821
|
+
(x) => SearchKnowledgeAndNe$inboundSchema.parse(JSON.parse(x)),
|
|
1822
|
+
`Failed to parse 'SearchKnowledgeAndNe' from JSON`,
|
|
2118
1823
|
);
|
|
2119
1824
|
}
|
|
2120
1825
|
|
|
2121
1826
|
/** @internal */
|
|
2122
|
-
export const
|
|
2123
|
-
|
|
1827
|
+
export const SearchKnowledgeAndKnowledgeEq$inboundSchema: z.ZodType<
|
|
1828
|
+
SearchKnowledgeAndKnowledgeEq,
|
|
2124
1829
|
z.ZodTypeDef,
|
|
2125
1830
|
unknown
|
|
2126
1831
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2127
1832
|
|
|
2128
1833
|
/** @internal */
|
|
2129
|
-
export type
|
|
2130
|
-
| string
|
|
2131
|
-
| number
|
|
2132
|
-
| boolean;
|
|
1834
|
+
export type SearchKnowledgeAndKnowledgeEq$Outbound = string | number | boolean;
|
|
2133
1835
|
|
|
2134
1836
|
/** @internal */
|
|
2135
|
-
export const
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1837
|
+
export const SearchKnowledgeAndKnowledgeEq$outboundSchema: z.ZodType<
|
|
1838
|
+
SearchKnowledgeAndKnowledgeEq$Outbound,
|
|
1839
|
+
z.ZodTypeDef,
|
|
1840
|
+
SearchKnowledgeAndKnowledgeEq
|
|
1841
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2141
1842
|
|
|
2142
1843
|
/**
|
|
2143
1844
|
* @internal
|
|
2144
1845
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2145
1846
|
*/
|
|
2146
|
-
export namespace
|
|
2147
|
-
/** @deprecated use `
|
|
2148
|
-
export const inboundSchema =
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
/** @deprecated use `SearchKnowledgeDollarAndKnowledgeDollarEq$Outbound` instead. */
|
|
2154
|
-
export type Outbound = SearchKnowledgeDollarAndKnowledgeDollarEq$Outbound;
|
|
1847
|
+
export namespace SearchKnowledgeAndKnowledgeEq$ {
|
|
1848
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeEq$inboundSchema` instead. */
|
|
1849
|
+
export const inboundSchema = SearchKnowledgeAndKnowledgeEq$inboundSchema;
|
|
1850
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeEq$outboundSchema` instead. */
|
|
1851
|
+
export const outboundSchema = SearchKnowledgeAndKnowledgeEq$outboundSchema;
|
|
1852
|
+
/** @deprecated use `SearchKnowledgeAndKnowledgeEq$Outbound` instead. */
|
|
1853
|
+
export type Outbound = SearchKnowledgeAndKnowledgeEq$Outbound;
|
|
2155
1854
|
}
|
|
2156
1855
|
|
|
2157
|
-
export function
|
|
2158
|
-
|
|
2159
|
-
SearchKnowledgeDollarAndKnowledgeDollarEq,
|
|
1856
|
+
export function searchKnowledgeAndKnowledgeEqToJSON(
|
|
1857
|
+
searchKnowledgeAndKnowledgeEq: SearchKnowledgeAndKnowledgeEq,
|
|
2160
1858
|
): string {
|
|
2161
1859
|
return JSON.stringify(
|
|
2162
|
-
|
|
2163
|
-
|
|
1860
|
+
SearchKnowledgeAndKnowledgeEq$outboundSchema.parse(
|
|
1861
|
+
searchKnowledgeAndKnowledgeEq,
|
|
2164
1862
|
),
|
|
2165
1863
|
);
|
|
2166
1864
|
}
|
|
2167
1865
|
|
|
2168
|
-
export function
|
|
1866
|
+
export function searchKnowledgeAndKnowledgeEqFromJSON(
|
|
2169
1867
|
jsonString: string,
|
|
2170
|
-
): SafeParseResult<
|
|
2171
|
-
SearchKnowledgeDollarAndKnowledgeDollarEq,
|
|
2172
|
-
SDKValidationError
|
|
2173
|
-
> {
|
|
1868
|
+
): SafeParseResult<SearchKnowledgeAndKnowledgeEq, SDKValidationError> {
|
|
2174
1869
|
return safeParse(
|
|
2175
1870
|
jsonString,
|
|
2176
|
-
(x) =>
|
|
2177
|
-
|
|
2178
|
-
JSON.parse(x),
|
|
2179
|
-
),
|
|
2180
|
-
`Failed to parse 'SearchKnowledgeDollarAndKnowledgeDollarEq' from JSON`,
|
|
1871
|
+
(x) => SearchKnowledgeAndKnowledgeEq$inboundSchema.parse(JSON.parse(x)),
|
|
1872
|
+
`Failed to parse 'SearchKnowledgeAndKnowledgeEq' from JSON`,
|
|
2181
1873
|
);
|
|
2182
1874
|
}
|
|
2183
1875
|
|
|
2184
1876
|
/** @internal */
|
|
2185
|
-
export const
|
|
2186
|
-
|
|
1877
|
+
export const SearchKnowledgeAndEq$inboundSchema: z.ZodType<
|
|
1878
|
+
SearchKnowledgeAndEq,
|
|
2187
1879
|
z.ZodTypeDef,
|
|
2188
1880
|
unknown
|
|
2189
1881
|
> = z.object({
|
|
2190
|
-
|
|
2191
|
-
}).transform((v) => {
|
|
2192
|
-
return remap$(v, {
|
|
2193
|
-
"$eq": "dollarEq",
|
|
2194
|
-
});
|
|
1882
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
2195
1883
|
});
|
|
2196
1884
|
|
|
2197
1885
|
/** @internal */
|
|
2198
|
-
export type
|
|
2199
|
-
|
|
1886
|
+
export type SearchKnowledgeAndEq$Outbound = {
|
|
1887
|
+
eq: string | number | boolean;
|
|
2200
1888
|
};
|
|
2201
1889
|
|
|
2202
1890
|
/** @internal */
|
|
2203
|
-
export const
|
|
2204
|
-
|
|
1891
|
+
export const SearchKnowledgeAndEq$outboundSchema: z.ZodType<
|
|
1892
|
+
SearchKnowledgeAndEq$Outbound,
|
|
2205
1893
|
z.ZodTypeDef,
|
|
2206
|
-
|
|
1894
|
+
SearchKnowledgeAndEq
|
|
2207
1895
|
> = z.object({
|
|
2208
|
-
|
|
2209
|
-
}).transform((v) => {
|
|
2210
|
-
return remap$(v, {
|
|
2211
|
-
dollarEq: "$eq",
|
|
2212
|
-
});
|
|
1896
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
2213
1897
|
});
|
|
2214
1898
|
|
|
2215
1899
|
/**
|
|
2216
1900
|
* @internal
|
|
2217
1901
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2218
1902
|
*/
|
|
2219
|
-
export namespace
|
|
2220
|
-
/** @deprecated use `
|
|
2221
|
-
export const inboundSchema =
|
|
2222
|
-
/** @deprecated use `
|
|
2223
|
-
export const outboundSchema =
|
|
2224
|
-
/** @deprecated use `
|
|
2225
|
-
export type Outbound =
|
|
1903
|
+
export namespace SearchKnowledgeAndEq$ {
|
|
1904
|
+
/** @deprecated use `SearchKnowledgeAndEq$inboundSchema` instead. */
|
|
1905
|
+
export const inboundSchema = SearchKnowledgeAndEq$inboundSchema;
|
|
1906
|
+
/** @deprecated use `SearchKnowledgeAndEq$outboundSchema` instead. */
|
|
1907
|
+
export const outboundSchema = SearchKnowledgeAndEq$outboundSchema;
|
|
1908
|
+
/** @deprecated use `SearchKnowledgeAndEq$Outbound` instead. */
|
|
1909
|
+
export type Outbound = SearchKnowledgeAndEq$Outbound;
|
|
2226
1910
|
}
|
|
2227
1911
|
|
|
2228
|
-
export function
|
|
2229
|
-
|
|
1912
|
+
export function searchKnowledgeAndEqToJSON(
|
|
1913
|
+
searchKnowledgeAndEq: SearchKnowledgeAndEq,
|
|
2230
1914
|
): string {
|
|
2231
1915
|
return JSON.stringify(
|
|
2232
|
-
|
|
2233
|
-
searchKnowledgeDollarAndDollarEq,
|
|
2234
|
-
),
|
|
1916
|
+
SearchKnowledgeAndEq$outboundSchema.parse(searchKnowledgeAndEq),
|
|
2235
1917
|
);
|
|
2236
1918
|
}
|
|
2237
1919
|
|
|
2238
|
-
export function
|
|
1920
|
+
export function searchKnowledgeAndEqFromJSON(
|
|
2239
1921
|
jsonString: string,
|
|
2240
|
-
): SafeParseResult<
|
|
1922
|
+
): SafeParseResult<SearchKnowledgeAndEq, SDKValidationError> {
|
|
2241
1923
|
return safeParse(
|
|
2242
1924
|
jsonString,
|
|
2243
|
-
(x) =>
|
|
2244
|
-
`Failed to parse '
|
|
1925
|
+
(x) => SearchKnowledgeAndEq$inboundSchema.parse(JSON.parse(x)),
|
|
1926
|
+
`Failed to parse 'SearchKnowledgeAndEq' from JSON`,
|
|
2245
1927
|
);
|
|
2246
1928
|
}
|
|
2247
1929
|
|
|
2248
1930
|
/** @internal */
|
|
2249
|
-
export const
|
|
2250
|
-
|
|
1931
|
+
export const SearchKnowledgeFilterByAnd$inboundSchema: z.ZodType<
|
|
1932
|
+
SearchKnowledgeFilterByAnd,
|
|
2251
1933
|
z.ZodTypeDef,
|
|
2252
1934
|
unknown
|
|
2253
1935
|
> = z.union([
|
|
2254
|
-
z.lazy(() =>
|
|
2255
|
-
z.lazy(() =>
|
|
2256
|
-
z.lazy(() =>
|
|
2257
|
-
z.lazy(() =>
|
|
2258
|
-
z.lazy(() =>
|
|
2259
|
-
z.lazy(() =>
|
|
2260
|
-
z.lazy(() =>
|
|
2261
|
-
z.lazy(() =>
|
|
2262
|
-
z.lazy(() =>
|
|
1936
|
+
z.lazy(() => SearchKnowledgeAndEq$inboundSchema),
|
|
1937
|
+
z.lazy(() => SearchKnowledgeAndNe$inboundSchema),
|
|
1938
|
+
z.lazy(() => SearchKnowledgeAnd3$inboundSchema),
|
|
1939
|
+
z.lazy(() => SearchKnowledgeAndGte$inboundSchema),
|
|
1940
|
+
z.lazy(() => SearchKnowledgeAndLt$inboundSchema),
|
|
1941
|
+
z.lazy(() => SearchKnowledgeAndLte$inboundSchema),
|
|
1942
|
+
z.lazy(() => SearchKnowledgeAndIn$inboundSchema),
|
|
1943
|
+
z.lazy(() => SearchKnowledgeAndNin$inboundSchema),
|
|
1944
|
+
z.lazy(() => SearchKnowledgeAndExists$inboundSchema),
|
|
2263
1945
|
]);
|
|
2264
1946
|
|
|
2265
1947
|
/** @internal */
|
|
2266
|
-
export type
|
|
2267
|
-
|
|
|
2268
|
-
|
|
|
2269
|
-
|
|
|
2270
|
-
|
|
|
2271
|
-
|
|
|
2272
|
-
|
|
|
2273
|
-
|
|
|
2274
|
-
|
|
|
2275
|
-
|
|
|
1948
|
+
export type SearchKnowledgeFilterByAnd$Outbound =
|
|
1949
|
+
| SearchKnowledgeAndEq$Outbound
|
|
1950
|
+
| SearchKnowledgeAndNe$Outbound
|
|
1951
|
+
| SearchKnowledgeAnd3$Outbound
|
|
1952
|
+
| SearchKnowledgeAndGte$Outbound
|
|
1953
|
+
| SearchKnowledgeAndLt$Outbound
|
|
1954
|
+
| SearchKnowledgeAndLte$Outbound
|
|
1955
|
+
| SearchKnowledgeAndIn$Outbound
|
|
1956
|
+
| SearchKnowledgeAndNin$Outbound
|
|
1957
|
+
| SearchKnowledgeAndExists$Outbound;
|
|
2276
1958
|
|
|
2277
1959
|
/** @internal */
|
|
2278
|
-
export const
|
|
2279
|
-
|
|
1960
|
+
export const SearchKnowledgeFilterByAnd$outboundSchema: z.ZodType<
|
|
1961
|
+
SearchKnowledgeFilterByAnd$Outbound,
|
|
2280
1962
|
z.ZodTypeDef,
|
|
2281
|
-
|
|
1963
|
+
SearchKnowledgeFilterByAnd
|
|
2282
1964
|
> = z.union([
|
|
2283
|
-
z.lazy(() =>
|
|
2284
|
-
z.lazy(() =>
|
|
2285
|
-
z.lazy(() =>
|
|
2286
|
-
z.lazy(() =>
|
|
2287
|
-
z.lazy(() =>
|
|
2288
|
-
z.lazy(() =>
|
|
2289
|
-
z.lazy(() =>
|
|
2290
|
-
z.lazy(() =>
|
|
2291
|
-
z.lazy(() =>
|
|
1965
|
+
z.lazy(() => SearchKnowledgeAndEq$outboundSchema),
|
|
1966
|
+
z.lazy(() => SearchKnowledgeAndNe$outboundSchema),
|
|
1967
|
+
z.lazy(() => SearchKnowledgeAnd3$outboundSchema),
|
|
1968
|
+
z.lazy(() => SearchKnowledgeAndGte$outboundSchema),
|
|
1969
|
+
z.lazy(() => SearchKnowledgeAndLt$outboundSchema),
|
|
1970
|
+
z.lazy(() => SearchKnowledgeAndLte$outboundSchema),
|
|
1971
|
+
z.lazy(() => SearchKnowledgeAndIn$outboundSchema),
|
|
1972
|
+
z.lazy(() => SearchKnowledgeAndNin$outboundSchema),
|
|
1973
|
+
z.lazy(() => SearchKnowledgeAndExists$outboundSchema),
|
|
2292
1974
|
]);
|
|
2293
1975
|
|
|
2294
1976
|
/**
|
|
2295
1977
|
* @internal
|
|
2296
1978
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2297
1979
|
*/
|
|
2298
|
-
export namespace
|
|
2299
|
-
/** @deprecated use `
|
|
2300
|
-
export const inboundSchema =
|
|
2301
|
-
/** @deprecated use `
|
|
2302
|
-
export const outboundSchema =
|
|
2303
|
-
/** @deprecated use `
|
|
2304
|
-
export type Outbound =
|
|
1980
|
+
export namespace SearchKnowledgeFilterByAnd$ {
|
|
1981
|
+
/** @deprecated use `SearchKnowledgeFilterByAnd$inboundSchema` instead. */
|
|
1982
|
+
export const inboundSchema = SearchKnowledgeFilterByAnd$inboundSchema;
|
|
1983
|
+
/** @deprecated use `SearchKnowledgeFilterByAnd$outboundSchema` instead. */
|
|
1984
|
+
export const outboundSchema = SearchKnowledgeFilterByAnd$outboundSchema;
|
|
1985
|
+
/** @deprecated use `SearchKnowledgeFilterByAnd$Outbound` instead. */
|
|
1986
|
+
export type Outbound = SearchKnowledgeFilterByAnd$Outbound;
|
|
2305
1987
|
}
|
|
2306
1988
|
|
|
2307
|
-
export function
|
|
2308
|
-
|
|
1989
|
+
export function searchKnowledgeFilterByAndToJSON(
|
|
1990
|
+
searchKnowledgeFilterByAnd: SearchKnowledgeFilterByAnd,
|
|
2309
1991
|
): string {
|
|
2310
1992
|
return JSON.stringify(
|
|
2311
|
-
|
|
2312
|
-
searchKnowledgeFilterDollarAnd,
|
|
2313
|
-
),
|
|
1993
|
+
SearchKnowledgeFilterByAnd$outboundSchema.parse(searchKnowledgeFilterByAnd),
|
|
2314
1994
|
);
|
|
2315
1995
|
}
|
|
2316
1996
|
|
|
2317
|
-
export function
|
|
1997
|
+
export function searchKnowledgeFilterByAndFromJSON(
|
|
2318
1998
|
jsonString: string,
|
|
2319
|
-
): SafeParseResult<
|
|
1999
|
+
): SafeParseResult<SearchKnowledgeFilterByAnd, SDKValidationError> {
|
|
2320
2000
|
return safeParse(
|
|
2321
2001
|
jsonString,
|
|
2322
|
-
(x) =>
|
|
2323
|
-
`Failed to parse '
|
|
2002
|
+
(x) => SearchKnowledgeFilterByAnd$inboundSchema.parse(JSON.parse(x)),
|
|
2003
|
+
`Failed to parse 'SearchKnowledgeFilterByAnd' from JSON`,
|
|
2324
2004
|
);
|
|
2325
2005
|
}
|
|
2326
2006
|
|
|
2327
2007
|
/** @internal */
|
|
2328
|
-
export const
|
|
2329
|
-
|
|
2008
|
+
export const FilterByAnd$inboundSchema: z.ZodType<
|
|
2009
|
+
FilterByAnd,
|
|
2330
2010
|
z.ZodTypeDef,
|
|
2331
2011
|
unknown
|
|
2332
2012
|
> = z.object({
|
|
2333
|
-
|
|
2013
|
+
and: z.array(
|
|
2334
2014
|
z.record(z.union([
|
|
2335
|
-
z.lazy(() =>
|
|
2015
|
+
z.lazy(() => SearchKnowledgeAndEq$inboundSchema),
|
|
2336
2016
|
z.lazy(() =>
|
|
2337
|
-
|
|
2017
|
+
SearchKnowledgeAndNe$inboundSchema
|
|
2338
2018
|
),
|
|
2339
|
-
z.lazy(() =>
|
|
2340
|
-
z.lazy(() =>
|
|
2341
|
-
z.lazy(() =>
|
|
2342
|
-
z.lazy(() =>
|
|
2343
|
-
z.lazy(() =>
|
|
2344
|
-
z.lazy(() =>
|
|
2345
|
-
z.lazy(() =>
|
|
2019
|
+
z.lazy(() => SearchKnowledgeAnd3$inboundSchema),
|
|
2020
|
+
z.lazy(() => SearchKnowledgeAndGte$inboundSchema),
|
|
2021
|
+
z.lazy(() => SearchKnowledgeAndLt$inboundSchema),
|
|
2022
|
+
z.lazy(() => SearchKnowledgeAndLte$inboundSchema),
|
|
2023
|
+
z.lazy(() => SearchKnowledgeAndIn$inboundSchema),
|
|
2024
|
+
z.lazy(() => SearchKnowledgeAndNin$inboundSchema),
|
|
2025
|
+
z.lazy(() => SearchKnowledgeAndExists$inboundSchema),
|
|
2346
2026
|
])),
|
|
2347
2027
|
),
|
|
2348
|
-
}).transform((v) => {
|
|
2349
|
-
return remap$(v, {
|
|
2350
|
-
"$and": "dollarAnd",
|
|
2351
|
-
});
|
|
2352
2028
|
});
|
|
2353
2029
|
|
|
2354
2030
|
/** @internal */
|
|
2355
|
-
export type
|
|
2356
|
-
|
|
2031
|
+
export type FilterByAnd$Outbound = {
|
|
2032
|
+
and: Array<
|
|
2357
2033
|
{
|
|
2358
2034
|
[k: string]:
|
|
2359
|
-
|
|
|
2360
|
-
|
|
|
2361
|
-
|
|
|
2362
|
-
|
|
|
2363
|
-
|
|
|
2364
|
-
|
|
|
2365
|
-
|
|
|
2366
|
-
|
|
|
2367
|
-
|
|
|
2035
|
+
| SearchKnowledgeAndEq$Outbound
|
|
2036
|
+
| SearchKnowledgeAndNe$Outbound
|
|
2037
|
+
| SearchKnowledgeAnd3$Outbound
|
|
2038
|
+
| SearchKnowledgeAndGte$Outbound
|
|
2039
|
+
| SearchKnowledgeAndLt$Outbound
|
|
2040
|
+
| SearchKnowledgeAndLte$Outbound
|
|
2041
|
+
| SearchKnowledgeAndIn$Outbound
|
|
2042
|
+
| SearchKnowledgeAndNin$Outbound
|
|
2043
|
+
| SearchKnowledgeAndExists$Outbound;
|
|
2368
2044
|
}
|
|
2369
2045
|
>;
|
|
2370
2046
|
};
|
|
2371
2047
|
|
|
2372
2048
|
/** @internal */
|
|
2373
|
-
export const
|
|
2374
|
-
|
|
2049
|
+
export const FilterByAnd$outboundSchema: z.ZodType<
|
|
2050
|
+
FilterByAnd$Outbound,
|
|
2375
2051
|
z.ZodTypeDef,
|
|
2376
|
-
|
|
2052
|
+
FilterByAnd
|
|
2377
2053
|
> = z.object({
|
|
2378
|
-
|
|
2054
|
+
and: z.array(
|
|
2379
2055
|
z.record(z.union([
|
|
2380
|
-
z.lazy(() =>
|
|
2056
|
+
z.lazy(() => SearchKnowledgeAndEq$outboundSchema),
|
|
2381
2057
|
z.lazy(() =>
|
|
2382
|
-
|
|
2058
|
+
SearchKnowledgeAndNe$outboundSchema
|
|
2383
2059
|
),
|
|
2384
|
-
z.lazy(() =>
|
|
2385
|
-
z.lazy(() =>
|
|
2386
|
-
z.lazy(() =>
|
|
2387
|
-
z.lazy(() =>
|
|
2388
|
-
z.lazy(() =>
|
|
2389
|
-
z.lazy(() =>
|
|
2390
|
-
z.lazy(() =>
|
|
2060
|
+
z.lazy(() => SearchKnowledgeAnd3$outboundSchema),
|
|
2061
|
+
z.lazy(() => SearchKnowledgeAndGte$outboundSchema),
|
|
2062
|
+
z.lazy(() => SearchKnowledgeAndLt$outboundSchema),
|
|
2063
|
+
z.lazy(() => SearchKnowledgeAndLte$outboundSchema),
|
|
2064
|
+
z.lazy(() => SearchKnowledgeAndIn$outboundSchema),
|
|
2065
|
+
z.lazy(() => SearchKnowledgeAndNin$outboundSchema),
|
|
2066
|
+
z.lazy(() => SearchKnowledgeAndExists$outboundSchema),
|
|
2391
2067
|
])),
|
|
2392
2068
|
),
|
|
2393
|
-
}).transform((v) => {
|
|
2394
|
-
return remap$(v, {
|
|
2395
|
-
dollarAnd: "$and",
|
|
2396
|
-
});
|
|
2397
2069
|
});
|
|
2398
2070
|
|
|
2399
2071
|
/**
|
|
2400
2072
|
* @internal
|
|
2401
2073
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2402
2074
|
*/
|
|
2403
|
-
export namespace
|
|
2404
|
-
/** @deprecated use `
|
|
2405
|
-
export const inboundSchema =
|
|
2406
|
-
/** @deprecated use `
|
|
2407
|
-
export const outboundSchema =
|
|
2408
|
-
/** @deprecated use `
|
|
2409
|
-
export type Outbound =
|
|
2075
|
+
export namespace FilterByAnd$ {
|
|
2076
|
+
/** @deprecated use `FilterByAnd$inboundSchema` instead. */
|
|
2077
|
+
export const inboundSchema = FilterByAnd$inboundSchema;
|
|
2078
|
+
/** @deprecated use `FilterByAnd$outboundSchema` instead. */
|
|
2079
|
+
export const outboundSchema = FilterByAnd$outboundSchema;
|
|
2080
|
+
/** @deprecated use `FilterByAnd$Outbound` instead. */
|
|
2081
|
+
export type Outbound = FilterByAnd$Outbound;
|
|
2410
2082
|
}
|
|
2411
2083
|
|
|
2412
|
-
export function
|
|
2413
|
-
|
|
2414
|
-
): string {
|
|
2415
|
-
return JSON.stringify(FilterDollarAnd$outboundSchema.parse(filterDollarAnd));
|
|
2084
|
+
export function filterByAndToJSON(filterByAnd: FilterByAnd): string {
|
|
2085
|
+
return JSON.stringify(FilterByAnd$outboundSchema.parse(filterByAnd));
|
|
2416
2086
|
}
|
|
2417
2087
|
|
|
2418
|
-
export function
|
|
2088
|
+
export function filterByAndFromJSON(
|
|
2419
2089
|
jsonString: string,
|
|
2420
|
-
): SafeParseResult<
|
|
2090
|
+
): SafeParseResult<FilterByAnd, SDKValidationError> {
|
|
2421
2091
|
return safeParse(
|
|
2422
2092
|
jsonString,
|
|
2423
|
-
(x) =>
|
|
2424
|
-
`Failed to parse '
|
|
2093
|
+
(x) => FilterByAnd$inboundSchema.parse(JSON.parse(x)),
|
|
2094
|
+
`Failed to parse 'FilterByAnd' from JSON`,
|
|
2425
2095
|
);
|
|
2426
2096
|
}
|
|
2427
2097
|
|
|
2428
2098
|
/** @internal */
|
|
2429
|
-
export const
|
|
2430
|
-
|
|
2099
|
+
export const SearchKnowledge1Exists$inboundSchema: z.ZodType<
|
|
2100
|
+
SearchKnowledge1Exists,
|
|
2431
2101
|
z.ZodTypeDef,
|
|
2432
2102
|
unknown
|
|
2433
2103
|
> = z.object({
|
|
2434
|
-
|
|
2435
|
-
}).transform((v) => {
|
|
2436
|
-
return remap$(v, {
|
|
2437
|
-
"$exists": "dollarExists",
|
|
2438
|
-
});
|
|
2104
|
+
exists: z.boolean(),
|
|
2439
2105
|
});
|
|
2440
2106
|
|
|
2441
2107
|
/** @internal */
|
|
2442
|
-
export type
|
|
2443
|
-
|
|
2108
|
+
export type SearchKnowledge1Exists$Outbound = {
|
|
2109
|
+
exists: boolean;
|
|
2444
2110
|
};
|
|
2445
2111
|
|
|
2446
2112
|
/** @internal */
|
|
2447
|
-
export const
|
|
2448
|
-
|
|
2113
|
+
export const SearchKnowledge1Exists$outboundSchema: z.ZodType<
|
|
2114
|
+
SearchKnowledge1Exists$Outbound,
|
|
2449
2115
|
z.ZodTypeDef,
|
|
2450
|
-
|
|
2116
|
+
SearchKnowledge1Exists
|
|
2451
2117
|
> = z.object({
|
|
2452
|
-
|
|
2453
|
-
}).transform((v) => {
|
|
2454
|
-
return remap$(v, {
|
|
2455
|
-
dollarExists: "$exists",
|
|
2456
|
-
});
|
|
2118
|
+
exists: z.boolean(),
|
|
2457
2119
|
});
|
|
2458
2120
|
|
|
2459
2121
|
/**
|
|
2460
2122
|
* @internal
|
|
2461
2123
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2462
2124
|
*/
|
|
2463
|
-
export namespace
|
|
2464
|
-
/** @deprecated use `
|
|
2465
|
-
export const inboundSchema =
|
|
2466
|
-
/** @deprecated use `
|
|
2467
|
-
export const outboundSchema =
|
|
2468
|
-
/** @deprecated use `
|
|
2469
|
-
export type Outbound =
|
|
2125
|
+
export namespace SearchKnowledge1Exists$ {
|
|
2126
|
+
/** @deprecated use `SearchKnowledge1Exists$inboundSchema` instead. */
|
|
2127
|
+
export const inboundSchema = SearchKnowledge1Exists$inboundSchema;
|
|
2128
|
+
/** @deprecated use `SearchKnowledge1Exists$outboundSchema` instead. */
|
|
2129
|
+
export const outboundSchema = SearchKnowledge1Exists$outboundSchema;
|
|
2130
|
+
/** @deprecated use `SearchKnowledge1Exists$Outbound` instead. */
|
|
2131
|
+
export type Outbound = SearchKnowledge1Exists$Outbound;
|
|
2470
2132
|
}
|
|
2471
2133
|
|
|
2472
|
-
export function
|
|
2473
|
-
|
|
2134
|
+
export function searchKnowledge1ExistsToJSON(
|
|
2135
|
+
searchKnowledge1Exists: SearchKnowledge1Exists,
|
|
2474
2136
|
): string {
|
|
2475
2137
|
return JSON.stringify(
|
|
2476
|
-
|
|
2477
|
-
searchKnowledge1DollarExists,
|
|
2478
|
-
),
|
|
2138
|
+
SearchKnowledge1Exists$outboundSchema.parse(searchKnowledge1Exists),
|
|
2479
2139
|
);
|
|
2480
2140
|
}
|
|
2481
2141
|
|
|
2482
|
-
export function
|
|
2142
|
+
export function searchKnowledge1ExistsFromJSON(
|
|
2483
2143
|
jsonString: string,
|
|
2484
|
-
): SafeParseResult<
|
|
2144
|
+
): SafeParseResult<SearchKnowledge1Exists, SDKValidationError> {
|
|
2485
2145
|
return safeParse(
|
|
2486
2146
|
jsonString,
|
|
2487
|
-
(x) =>
|
|
2488
|
-
`Failed to parse '
|
|
2147
|
+
(x) => SearchKnowledge1Exists$inboundSchema.parse(JSON.parse(x)),
|
|
2148
|
+
`Failed to parse 'SearchKnowledge1Exists' from JSON`,
|
|
2489
2149
|
);
|
|
2490
2150
|
}
|
|
2491
2151
|
|
|
2492
2152
|
/** @internal */
|
|
2493
|
-
export const
|
|
2494
|
-
|
|
2153
|
+
export const SearchKnowledge1KnowledgeNin$inboundSchema: z.ZodType<
|
|
2154
|
+
SearchKnowledge1KnowledgeNin,
|
|
2495
2155
|
z.ZodTypeDef,
|
|
2496
2156
|
unknown
|
|
2497
2157
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2498
2158
|
|
|
2499
2159
|
/** @internal */
|
|
2500
|
-
export type
|
|
2501
|
-
| string
|
|
2502
|
-
| number
|
|
2503
|
-
| boolean;
|
|
2160
|
+
export type SearchKnowledge1KnowledgeNin$Outbound = string | number | boolean;
|
|
2504
2161
|
|
|
2505
2162
|
/** @internal */
|
|
2506
|
-
export const
|
|
2507
|
-
|
|
2163
|
+
export const SearchKnowledge1KnowledgeNin$outboundSchema: z.ZodType<
|
|
2164
|
+
SearchKnowledge1KnowledgeNin$Outbound,
|
|
2508
2165
|
z.ZodTypeDef,
|
|
2509
|
-
|
|
2166
|
+
SearchKnowledge1KnowledgeNin
|
|
2510
2167
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2511
2168
|
|
|
2512
2169
|
/**
|
|
2513
2170
|
* @internal
|
|
2514
2171
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2515
2172
|
*/
|
|
2516
|
-
export namespace
|
|
2517
|
-
/** @deprecated use `
|
|
2518
|
-
export const inboundSchema =
|
|
2519
|
-
/** @deprecated use `
|
|
2520
|
-
export const outboundSchema =
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
export type Outbound = SearchKnowledge1KnowledgeDollarNin$Outbound;
|
|
2173
|
+
export namespace SearchKnowledge1KnowledgeNin$ {
|
|
2174
|
+
/** @deprecated use `SearchKnowledge1KnowledgeNin$inboundSchema` instead. */
|
|
2175
|
+
export const inboundSchema = SearchKnowledge1KnowledgeNin$inboundSchema;
|
|
2176
|
+
/** @deprecated use `SearchKnowledge1KnowledgeNin$outboundSchema` instead. */
|
|
2177
|
+
export const outboundSchema = SearchKnowledge1KnowledgeNin$outboundSchema;
|
|
2178
|
+
/** @deprecated use `SearchKnowledge1KnowledgeNin$Outbound` instead. */
|
|
2179
|
+
export type Outbound = SearchKnowledge1KnowledgeNin$Outbound;
|
|
2524
2180
|
}
|
|
2525
2181
|
|
|
2526
|
-
export function
|
|
2527
|
-
|
|
2182
|
+
export function searchKnowledge1KnowledgeNinToJSON(
|
|
2183
|
+
searchKnowledge1KnowledgeNin: SearchKnowledge1KnowledgeNin,
|
|
2528
2184
|
): string {
|
|
2529
2185
|
return JSON.stringify(
|
|
2530
|
-
|
|
2531
|
-
|
|
2186
|
+
SearchKnowledge1KnowledgeNin$outboundSchema.parse(
|
|
2187
|
+
searchKnowledge1KnowledgeNin,
|
|
2532
2188
|
),
|
|
2533
2189
|
);
|
|
2534
2190
|
}
|
|
2535
2191
|
|
|
2536
|
-
export function
|
|
2192
|
+
export function searchKnowledge1KnowledgeNinFromJSON(
|
|
2537
2193
|
jsonString: string,
|
|
2538
|
-
): SafeParseResult<
|
|
2194
|
+
): SafeParseResult<SearchKnowledge1KnowledgeNin, SDKValidationError> {
|
|
2539
2195
|
return safeParse(
|
|
2540
2196
|
jsonString,
|
|
2541
|
-
(x) =>
|
|
2542
|
-
|
|
2543
|
-
`Failed to parse 'SearchKnowledge1KnowledgeDollarNin' from JSON`,
|
|
2197
|
+
(x) => SearchKnowledge1KnowledgeNin$inboundSchema.parse(JSON.parse(x)),
|
|
2198
|
+
`Failed to parse 'SearchKnowledge1KnowledgeNin' from JSON`,
|
|
2544
2199
|
);
|
|
2545
2200
|
}
|
|
2546
2201
|
|
|
2547
2202
|
/** @internal */
|
|
2548
|
-
export const
|
|
2549
|
-
|
|
2203
|
+
export const SearchKnowledge1Nin$inboundSchema: z.ZodType<
|
|
2204
|
+
SearchKnowledge1Nin,
|
|
2550
2205
|
z.ZodTypeDef,
|
|
2551
2206
|
unknown
|
|
2552
2207
|
> = z.object({
|
|
2553
|
-
|
|
2554
|
-
}).transform((v) => {
|
|
2555
|
-
return remap$(v, {
|
|
2556
|
-
"$nin": "dollarNin",
|
|
2557
|
-
});
|
|
2208
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
2558
2209
|
});
|
|
2559
2210
|
|
|
2560
2211
|
/** @internal */
|
|
2561
|
-
export type
|
|
2562
|
-
|
|
2212
|
+
export type SearchKnowledge1Nin$Outbound = {
|
|
2213
|
+
nin: Array<string | number | boolean>;
|
|
2563
2214
|
};
|
|
2564
2215
|
|
|
2565
2216
|
/** @internal */
|
|
2566
|
-
export const
|
|
2567
|
-
|
|
2217
|
+
export const SearchKnowledge1Nin$outboundSchema: z.ZodType<
|
|
2218
|
+
SearchKnowledge1Nin$Outbound,
|
|
2568
2219
|
z.ZodTypeDef,
|
|
2569
|
-
|
|
2220
|
+
SearchKnowledge1Nin
|
|
2570
2221
|
> = z.object({
|
|
2571
|
-
|
|
2572
|
-
}).transform((v) => {
|
|
2573
|
-
return remap$(v, {
|
|
2574
|
-
dollarNin: "$nin",
|
|
2575
|
-
});
|
|
2222
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
2576
2223
|
});
|
|
2577
2224
|
|
|
2578
2225
|
/**
|
|
2579
2226
|
* @internal
|
|
2580
2227
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2581
2228
|
*/
|
|
2582
|
-
export namespace
|
|
2583
|
-
/** @deprecated use `
|
|
2584
|
-
export const inboundSchema =
|
|
2585
|
-
/** @deprecated use `
|
|
2586
|
-
export const outboundSchema =
|
|
2587
|
-
/** @deprecated use `
|
|
2588
|
-
export type Outbound =
|
|
2229
|
+
export namespace SearchKnowledge1Nin$ {
|
|
2230
|
+
/** @deprecated use `SearchKnowledge1Nin$inboundSchema` instead. */
|
|
2231
|
+
export const inboundSchema = SearchKnowledge1Nin$inboundSchema;
|
|
2232
|
+
/** @deprecated use `SearchKnowledge1Nin$outboundSchema` instead. */
|
|
2233
|
+
export const outboundSchema = SearchKnowledge1Nin$outboundSchema;
|
|
2234
|
+
/** @deprecated use `SearchKnowledge1Nin$Outbound` instead. */
|
|
2235
|
+
export type Outbound = SearchKnowledge1Nin$Outbound;
|
|
2589
2236
|
}
|
|
2590
2237
|
|
|
2591
|
-
export function
|
|
2592
|
-
|
|
2238
|
+
export function searchKnowledge1NinToJSON(
|
|
2239
|
+
searchKnowledge1Nin: SearchKnowledge1Nin,
|
|
2593
2240
|
): string {
|
|
2594
2241
|
return JSON.stringify(
|
|
2595
|
-
|
|
2242
|
+
SearchKnowledge1Nin$outboundSchema.parse(searchKnowledge1Nin),
|
|
2596
2243
|
);
|
|
2597
2244
|
}
|
|
2598
2245
|
|
|
2599
|
-
export function
|
|
2246
|
+
export function searchKnowledge1NinFromJSON(
|
|
2600
2247
|
jsonString: string,
|
|
2601
|
-
): SafeParseResult<
|
|
2248
|
+
): SafeParseResult<SearchKnowledge1Nin, SDKValidationError> {
|
|
2602
2249
|
return safeParse(
|
|
2603
2250
|
jsonString,
|
|
2604
|
-
(x) =>
|
|
2605
|
-
`Failed to parse '
|
|
2251
|
+
(x) => SearchKnowledge1Nin$inboundSchema.parse(JSON.parse(x)),
|
|
2252
|
+
`Failed to parse 'SearchKnowledge1Nin' from JSON`,
|
|
2606
2253
|
);
|
|
2607
2254
|
}
|
|
2608
2255
|
|
|
2609
2256
|
/** @internal */
|
|
2610
|
-
export const
|
|
2611
|
-
|
|
2257
|
+
export const SearchKnowledge1KnowledgeIn$inboundSchema: z.ZodType<
|
|
2258
|
+
SearchKnowledge1KnowledgeIn,
|
|
2612
2259
|
z.ZodTypeDef,
|
|
2613
2260
|
unknown
|
|
2614
2261
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2615
2262
|
|
|
2616
2263
|
/** @internal */
|
|
2617
|
-
export type
|
|
2618
|
-
| string
|
|
2619
|
-
| number
|
|
2620
|
-
| boolean;
|
|
2264
|
+
export type SearchKnowledge1KnowledgeIn$Outbound = string | number | boolean;
|
|
2621
2265
|
|
|
2622
2266
|
/** @internal */
|
|
2623
|
-
export const
|
|
2624
|
-
|
|
2267
|
+
export const SearchKnowledge1KnowledgeIn$outboundSchema: z.ZodType<
|
|
2268
|
+
SearchKnowledge1KnowledgeIn$Outbound,
|
|
2625
2269
|
z.ZodTypeDef,
|
|
2626
|
-
|
|
2270
|
+
SearchKnowledge1KnowledgeIn
|
|
2627
2271
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2628
2272
|
|
|
2629
2273
|
/**
|
|
2630
2274
|
* @internal
|
|
2631
2275
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2632
2276
|
*/
|
|
2633
|
-
export namespace
|
|
2634
|
-
/** @deprecated use `
|
|
2635
|
-
export const inboundSchema =
|
|
2636
|
-
/** @deprecated use `
|
|
2637
|
-
export const outboundSchema =
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
export type Outbound = SearchKnowledge1KnowledgeDollarIn$Outbound;
|
|
2277
|
+
export namespace SearchKnowledge1KnowledgeIn$ {
|
|
2278
|
+
/** @deprecated use `SearchKnowledge1KnowledgeIn$inboundSchema` instead. */
|
|
2279
|
+
export const inboundSchema = SearchKnowledge1KnowledgeIn$inboundSchema;
|
|
2280
|
+
/** @deprecated use `SearchKnowledge1KnowledgeIn$outboundSchema` instead. */
|
|
2281
|
+
export const outboundSchema = SearchKnowledge1KnowledgeIn$outboundSchema;
|
|
2282
|
+
/** @deprecated use `SearchKnowledge1KnowledgeIn$Outbound` instead. */
|
|
2283
|
+
export type Outbound = SearchKnowledge1KnowledgeIn$Outbound;
|
|
2641
2284
|
}
|
|
2642
2285
|
|
|
2643
|
-
export function
|
|
2644
|
-
|
|
2286
|
+
export function searchKnowledge1KnowledgeInToJSON(
|
|
2287
|
+
searchKnowledge1KnowledgeIn: SearchKnowledge1KnowledgeIn,
|
|
2645
2288
|
): string {
|
|
2646
2289
|
return JSON.stringify(
|
|
2647
|
-
|
|
2648
|
-
|
|
2290
|
+
SearchKnowledge1KnowledgeIn$outboundSchema.parse(
|
|
2291
|
+
searchKnowledge1KnowledgeIn,
|
|
2649
2292
|
),
|
|
2650
2293
|
);
|
|
2651
2294
|
}
|
|
2652
2295
|
|
|
2653
|
-
export function
|
|
2296
|
+
export function searchKnowledge1KnowledgeInFromJSON(
|
|
2654
2297
|
jsonString: string,
|
|
2655
|
-
): SafeParseResult<
|
|
2298
|
+
): SafeParseResult<SearchKnowledge1KnowledgeIn, SDKValidationError> {
|
|
2656
2299
|
return safeParse(
|
|
2657
2300
|
jsonString,
|
|
2658
|
-
(x) =>
|
|
2659
|
-
`Failed to parse '
|
|
2301
|
+
(x) => SearchKnowledge1KnowledgeIn$inboundSchema.parse(JSON.parse(x)),
|
|
2302
|
+
`Failed to parse 'SearchKnowledge1KnowledgeIn' from JSON`,
|
|
2660
2303
|
);
|
|
2661
2304
|
}
|
|
2662
2305
|
|
|
2663
2306
|
/** @internal */
|
|
2664
|
-
export const
|
|
2665
|
-
|
|
2307
|
+
export const SearchKnowledge1In$inboundSchema: z.ZodType<
|
|
2308
|
+
SearchKnowledge1In,
|
|
2666
2309
|
z.ZodTypeDef,
|
|
2667
2310
|
unknown
|
|
2668
2311
|
> = z.object({
|
|
2669
|
-
|
|
2670
|
-
}).transform((v) => {
|
|
2671
|
-
return remap$(v, {
|
|
2672
|
-
"$in": "dollarIn",
|
|
2673
|
-
});
|
|
2312
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
2674
2313
|
});
|
|
2675
2314
|
|
|
2676
2315
|
/** @internal */
|
|
2677
|
-
export type
|
|
2678
|
-
|
|
2316
|
+
export type SearchKnowledge1In$Outbound = {
|
|
2317
|
+
in: Array<string | number | boolean>;
|
|
2679
2318
|
};
|
|
2680
2319
|
|
|
2681
2320
|
/** @internal */
|
|
2682
|
-
export const
|
|
2683
|
-
|
|
2321
|
+
export const SearchKnowledge1In$outboundSchema: z.ZodType<
|
|
2322
|
+
SearchKnowledge1In$Outbound,
|
|
2684
2323
|
z.ZodTypeDef,
|
|
2685
|
-
|
|
2324
|
+
SearchKnowledge1In
|
|
2686
2325
|
> = z.object({
|
|
2687
|
-
|
|
2688
|
-
}).transform((v) => {
|
|
2689
|
-
return remap$(v, {
|
|
2690
|
-
dollarIn: "$in",
|
|
2691
|
-
});
|
|
2326
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
2692
2327
|
});
|
|
2693
2328
|
|
|
2694
2329
|
/**
|
|
2695
2330
|
* @internal
|
|
2696
2331
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2697
2332
|
*/
|
|
2698
|
-
export namespace
|
|
2699
|
-
/** @deprecated use `
|
|
2700
|
-
export const inboundSchema =
|
|
2701
|
-
/** @deprecated use `
|
|
2702
|
-
export const outboundSchema =
|
|
2703
|
-
/** @deprecated use `
|
|
2704
|
-
export type Outbound =
|
|
2333
|
+
export namespace SearchKnowledge1In$ {
|
|
2334
|
+
/** @deprecated use `SearchKnowledge1In$inboundSchema` instead. */
|
|
2335
|
+
export const inboundSchema = SearchKnowledge1In$inboundSchema;
|
|
2336
|
+
/** @deprecated use `SearchKnowledge1In$outboundSchema` instead. */
|
|
2337
|
+
export const outboundSchema = SearchKnowledge1In$outboundSchema;
|
|
2338
|
+
/** @deprecated use `SearchKnowledge1In$Outbound` instead. */
|
|
2339
|
+
export type Outbound = SearchKnowledge1In$Outbound;
|
|
2705
2340
|
}
|
|
2706
2341
|
|
|
2707
|
-
export function
|
|
2708
|
-
|
|
2342
|
+
export function searchKnowledge1InToJSON(
|
|
2343
|
+
searchKnowledge1In: SearchKnowledge1In,
|
|
2709
2344
|
): string {
|
|
2710
2345
|
return JSON.stringify(
|
|
2711
|
-
|
|
2346
|
+
SearchKnowledge1In$outboundSchema.parse(searchKnowledge1In),
|
|
2712
2347
|
);
|
|
2713
2348
|
}
|
|
2714
2349
|
|
|
2715
|
-
export function
|
|
2350
|
+
export function searchKnowledge1InFromJSON(
|
|
2716
2351
|
jsonString: string,
|
|
2717
|
-
): SafeParseResult<
|
|
2352
|
+
): SafeParseResult<SearchKnowledge1In, SDKValidationError> {
|
|
2718
2353
|
return safeParse(
|
|
2719
2354
|
jsonString,
|
|
2720
|
-
(x) =>
|
|
2721
|
-
`Failed to parse '
|
|
2355
|
+
(x) => SearchKnowledge1In$inboundSchema.parse(JSON.parse(x)),
|
|
2356
|
+
`Failed to parse 'SearchKnowledge1In' from JSON`,
|
|
2722
2357
|
);
|
|
2723
2358
|
}
|
|
2724
2359
|
|
|
2725
2360
|
/** @internal */
|
|
2726
|
-
export const
|
|
2727
|
-
|
|
2361
|
+
export const SearchKnowledge1Lte$inboundSchema: z.ZodType<
|
|
2362
|
+
SearchKnowledge1Lte,
|
|
2728
2363
|
z.ZodTypeDef,
|
|
2729
2364
|
unknown
|
|
2730
2365
|
> = z.object({
|
|
2731
|
-
|
|
2732
|
-
}).transform((v) => {
|
|
2733
|
-
return remap$(v, {
|
|
2734
|
-
"$lte": "dollarLte",
|
|
2735
|
-
});
|
|
2366
|
+
lte: z.number(),
|
|
2736
2367
|
});
|
|
2737
2368
|
|
|
2738
2369
|
/** @internal */
|
|
2739
|
-
export type
|
|
2740
|
-
|
|
2370
|
+
export type SearchKnowledge1Lte$Outbound = {
|
|
2371
|
+
lte: number;
|
|
2741
2372
|
};
|
|
2742
2373
|
|
|
2743
2374
|
/** @internal */
|
|
2744
|
-
export const
|
|
2745
|
-
|
|
2375
|
+
export const SearchKnowledge1Lte$outboundSchema: z.ZodType<
|
|
2376
|
+
SearchKnowledge1Lte$Outbound,
|
|
2746
2377
|
z.ZodTypeDef,
|
|
2747
|
-
|
|
2378
|
+
SearchKnowledge1Lte
|
|
2748
2379
|
> = z.object({
|
|
2749
|
-
|
|
2750
|
-
}).transform((v) => {
|
|
2751
|
-
return remap$(v, {
|
|
2752
|
-
dollarLte: "$lte",
|
|
2753
|
-
});
|
|
2380
|
+
lte: z.number(),
|
|
2754
2381
|
});
|
|
2755
2382
|
|
|
2756
2383
|
/**
|
|
2757
2384
|
* @internal
|
|
2758
2385
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2759
2386
|
*/
|
|
2760
|
-
export namespace
|
|
2761
|
-
/** @deprecated use `
|
|
2762
|
-
export const inboundSchema =
|
|
2763
|
-
/** @deprecated use `
|
|
2764
|
-
export const outboundSchema =
|
|
2765
|
-
/** @deprecated use `
|
|
2766
|
-
export type Outbound =
|
|
2387
|
+
export namespace SearchKnowledge1Lte$ {
|
|
2388
|
+
/** @deprecated use `SearchKnowledge1Lte$inboundSchema` instead. */
|
|
2389
|
+
export const inboundSchema = SearchKnowledge1Lte$inboundSchema;
|
|
2390
|
+
/** @deprecated use `SearchKnowledge1Lte$outboundSchema` instead. */
|
|
2391
|
+
export const outboundSchema = SearchKnowledge1Lte$outboundSchema;
|
|
2392
|
+
/** @deprecated use `SearchKnowledge1Lte$Outbound` instead. */
|
|
2393
|
+
export type Outbound = SearchKnowledge1Lte$Outbound;
|
|
2767
2394
|
}
|
|
2768
2395
|
|
|
2769
|
-
export function
|
|
2770
|
-
|
|
2396
|
+
export function searchKnowledge1LteToJSON(
|
|
2397
|
+
searchKnowledge1Lte: SearchKnowledge1Lte,
|
|
2771
2398
|
): string {
|
|
2772
2399
|
return JSON.stringify(
|
|
2773
|
-
|
|
2400
|
+
SearchKnowledge1Lte$outboundSchema.parse(searchKnowledge1Lte),
|
|
2774
2401
|
);
|
|
2775
2402
|
}
|
|
2776
2403
|
|
|
2777
|
-
export function
|
|
2404
|
+
export function searchKnowledge1LteFromJSON(
|
|
2778
2405
|
jsonString: string,
|
|
2779
|
-
): SafeParseResult<
|
|
2406
|
+
): SafeParseResult<SearchKnowledge1Lte, SDKValidationError> {
|
|
2780
2407
|
return safeParse(
|
|
2781
2408
|
jsonString,
|
|
2782
|
-
(x) =>
|
|
2783
|
-
`Failed to parse '
|
|
2409
|
+
(x) => SearchKnowledge1Lte$inboundSchema.parse(JSON.parse(x)),
|
|
2410
|
+
`Failed to parse 'SearchKnowledge1Lte' from JSON`,
|
|
2784
2411
|
);
|
|
2785
2412
|
}
|
|
2786
2413
|
|
|
2787
2414
|
/** @internal */
|
|
2788
|
-
export const
|
|
2789
|
-
|
|
2415
|
+
export const SearchKnowledge1Lt$inboundSchema: z.ZodType<
|
|
2416
|
+
SearchKnowledge1Lt,
|
|
2790
2417
|
z.ZodTypeDef,
|
|
2791
2418
|
unknown
|
|
2792
2419
|
> = z.object({
|
|
2793
|
-
|
|
2794
|
-
}).transform((v) => {
|
|
2795
|
-
return remap$(v, {
|
|
2796
|
-
"$lt": "dollarLt",
|
|
2797
|
-
});
|
|
2420
|
+
lt: z.number(),
|
|
2798
2421
|
});
|
|
2799
2422
|
|
|
2800
2423
|
/** @internal */
|
|
2801
|
-
export type
|
|
2802
|
-
|
|
2424
|
+
export type SearchKnowledge1Lt$Outbound = {
|
|
2425
|
+
lt: number;
|
|
2803
2426
|
};
|
|
2804
2427
|
|
|
2805
2428
|
/** @internal */
|
|
2806
|
-
export const
|
|
2807
|
-
|
|
2429
|
+
export const SearchKnowledge1Lt$outboundSchema: z.ZodType<
|
|
2430
|
+
SearchKnowledge1Lt$Outbound,
|
|
2808
2431
|
z.ZodTypeDef,
|
|
2809
|
-
|
|
2432
|
+
SearchKnowledge1Lt
|
|
2810
2433
|
> = z.object({
|
|
2811
|
-
|
|
2812
|
-
}).transform((v) => {
|
|
2813
|
-
return remap$(v, {
|
|
2814
|
-
dollarLt: "$lt",
|
|
2815
|
-
});
|
|
2434
|
+
lt: z.number(),
|
|
2816
2435
|
});
|
|
2817
2436
|
|
|
2818
2437
|
/**
|
|
2819
2438
|
* @internal
|
|
2820
2439
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2821
2440
|
*/
|
|
2822
|
-
export namespace
|
|
2823
|
-
/** @deprecated use `
|
|
2824
|
-
export const inboundSchema =
|
|
2825
|
-
/** @deprecated use `
|
|
2826
|
-
export const outboundSchema =
|
|
2827
|
-
/** @deprecated use `
|
|
2828
|
-
export type Outbound =
|
|
2441
|
+
export namespace SearchKnowledge1Lt$ {
|
|
2442
|
+
/** @deprecated use `SearchKnowledge1Lt$inboundSchema` instead. */
|
|
2443
|
+
export const inboundSchema = SearchKnowledge1Lt$inboundSchema;
|
|
2444
|
+
/** @deprecated use `SearchKnowledge1Lt$outboundSchema` instead. */
|
|
2445
|
+
export const outboundSchema = SearchKnowledge1Lt$outboundSchema;
|
|
2446
|
+
/** @deprecated use `SearchKnowledge1Lt$Outbound` instead. */
|
|
2447
|
+
export type Outbound = SearchKnowledge1Lt$Outbound;
|
|
2829
2448
|
}
|
|
2830
2449
|
|
|
2831
|
-
export function
|
|
2832
|
-
|
|
2450
|
+
export function searchKnowledge1LtToJSON(
|
|
2451
|
+
searchKnowledge1Lt: SearchKnowledge1Lt,
|
|
2833
2452
|
): string {
|
|
2834
2453
|
return JSON.stringify(
|
|
2835
|
-
|
|
2454
|
+
SearchKnowledge1Lt$outboundSchema.parse(searchKnowledge1Lt),
|
|
2836
2455
|
);
|
|
2837
2456
|
}
|
|
2838
2457
|
|
|
2839
|
-
export function
|
|
2458
|
+
export function searchKnowledge1LtFromJSON(
|
|
2840
2459
|
jsonString: string,
|
|
2841
|
-
): SafeParseResult<
|
|
2460
|
+
): SafeParseResult<SearchKnowledge1Lt, SDKValidationError> {
|
|
2842
2461
|
return safeParse(
|
|
2843
2462
|
jsonString,
|
|
2844
|
-
(x) =>
|
|
2845
|
-
`Failed to parse '
|
|
2463
|
+
(x) => SearchKnowledge1Lt$inboundSchema.parse(JSON.parse(x)),
|
|
2464
|
+
`Failed to parse 'SearchKnowledge1Lt' from JSON`,
|
|
2846
2465
|
);
|
|
2847
2466
|
}
|
|
2848
2467
|
|
|
2849
2468
|
/** @internal */
|
|
2850
|
-
export const
|
|
2851
|
-
|
|
2469
|
+
export const SearchKnowledge1Gte$inboundSchema: z.ZodType<
|
|
2470
|
+
SearchKnowledge1Gte,
|
|
2852
2471
|
z.ZodTypeDef,
|
|
2853
2472
|
unknown
|
|
2854
2473
|
> = z.object({
|
|
2855
|
-
|
|
2856
|
-
}).transform((v) => {
|
|
2857
|
-
return remap$(v, {
|
|
2858
|
-
"$gte": "dollarGte",
|
|
2859
|
-
});
|
|
2474
|
+
gte: z.number(),
|
|
2860
2475
|
});
|
|
2861
2476
|
|
|
2862
2477
|
/** @internal */
|
|
2863
|
-
export type
|
|
2864
|
-
|
|
2478
|
+
export type SearchKnowledge1Gte$Outbound = {
|
|
2479
|
+
gte: number;
|
|
2865
2480
|
};
|
|
2866
2481
|
|
|
2867
2482
|
/** @internal */
|
|
2868
|
-
export const
|
|
2869
|
-
|
|
2483
|
+
export const SearchKnowledge1Gte$outboundSchema: z.ZodType<
|
|
2484
|
+
SearchKnowledge1Gte$Outbound,
|
|
2870
2485
|
z.ZodTypeDef,
|
|
2871
|
-
|
|
2486
|
+
SearchKnowledge1Gte
|
|
2872
2487
|
> = z.object({
|
|
2873
|
-
|
|
2874
|
-
}).transform((v) => {
|
|
2875
|
-
return remap$(v, {
|
|
2876
|
-
dollarGte: "$gte",
|
|
2877
|
-
});
|
|
2488
|
+
gte: z.number(),
|
|
2878
2489
|
});
|
|
2879
2490
|
|
|
2880
2491
|
/**
|
|
2881
2492
|
* @internal
|
|
2882
2493
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2883
2494
|
*/
|
|
2884
|
-
export namespace
|
|
2885
|
-
/** @deprecated use `
|
|
2886
|
-
export const inboundSchema =
|
|
2887
|
-
/** @deprecated use `
|
|
2888
|
-
export const outboundSchema =
|
|
2889
|
-
/** @deprecated use `
|
|
2890
|
-
export type Outbound =
|
|
2495
|
+
export namespace SearchKnowledge1Gte$ {
|
|
2496
|
+
/** @deprecated use `SearchKnowledge1Gte$inboundSchema` instead. */
|
|
2497
|
+
export const inboundSchema = SearchKnowledge1Gte$inboundSchema;
|
|
2498
|
+
/** @deprecated use `SearchKnowledge1Gte$outboundSchema` instead. */
|
|
2499
|
+
export const outboundSchema = SearchKnowledge1Gte$outboundSchema;
|
|
2500
|
+
/** @deprecated use `SearchKnowledge1Gte$Outbound` instead. */
|
|
2501
|
+
export type Outbound = SearchKnowledge1Gte$Outbound;
|
|
2891
2502
|
}
|
|
2892
2503
|
|
|
2893
|
-
export function
|
|
2894
|
-
|
|
2504
|
+
export function searchKnowledge1GteToJSON(
|
|
2505
|
+
searchKnowledge1Gte: SearchKnowledge1Gte,
|
|
2895
2506
|
): string {
|
|
2896
2507
|
return JSON.stringify(
|
|
2897
|
-
|
|
2508
|
+
SearchKnowledge1Gte$outboundSchema.parse(searchKnowledge1Gte),
|
|
2898
2509
|
);
|
|
2899
2510
|
}
|
|
2900
2511
|
|
|
2901
|
-
export function
|
|
2512
|
+
export function searchKnowledge1GteFromJSON(
|
|
2902
2513
|
jsonString: string,
|
|
2903
|
-
): SafeParseResult<
|
|
2514
|
+
): SafeParseResult<SearchKnowledge1Gte, SDKValidationError> {
|
|
2904
2515
|
return safeParse(
|
|
2905
2516
|
jsonString,
|
|
2906
|
-
(x) =>
|
|
2907
|
-
`Failed to parse '
|
|
2517
|
+
(x) => SearchKnowledge1Gte$inboundSchema.parse(JSON.parse(x)),
|
|
2518
|
+
`Failed to parse 'SearchKnowledge1Gte' from JSON`,
|
|
2908
2519
|
);
|
|
2909
2520
|
}
|
|
2910
2521
|
|
|
@@ -2914,16 +2525,12 @@ export const SearchKnowledge13$inboundSchema: z.ZodType<
|
|
|
2914
2525
|
z.ZodTypeDef,
|
|
2915
2526
|
unknown
|
|
2916
2527
|
> = z.object({
|
|
2917
|
-
|
|
2918
|
-
}).transform((v) => {
|
|
2919
|
-
return remap$(v, {
|
|
2920
|
-
"$gt": "dollarGt",
|
|
2921
|
-
});
|
|
2528
|
+
gt: z.number(),
|
|
2922
2529
|
});
|
|
2923
2530
|
|
|
2924
2531
|
/** @internal */
|
|
2925
2532
|
export type SearchKnowledge13$Outbound = {
|
|
2926
|
-
|
|
2533
|
+
gt: number;
|
|
2927
2534
|
};
|
|
2928
2535
|
|
|
2929
2536
|
/** @internal */
|
|
@@ -2932,11 +2539,7 @@ export const SearchKnowledge13$outboundSchema: z.ZodType<
|
|
|
2932
2539
|
z.ZodTypeDef,
|
|
2933
2540
|
SearchKnowledge13
|
|
2934
2541
|
> = z.object({
|
|
2935
|
-
|
|
2936
|
-
}).transform((v) => {
|
|
2937
|
-
return remap$(v, {
|
|
2938
|
-
dollarGt: "$gt",
|
|
2939
|
-
});
|
|
2542
|
+
gt: z.number(),
|
|
2940
2543
|
});
|
|
2941
2544
|
|
|
2942
2545
|
/**
|
|
@@ -2971,360 +2574,339 @@ export function searchKnowledge13FromJSON(
|
|
|
2971
2574
|
}
|
|
2972
2575
|
|
|
2973
2576
|
/** @internal */
|
|
2974
|
-
export const
|
|
2975
|
-
|
|
2577
|
+
export const SearchKnowledge1KnowledgeNe$inboundSchema: z.ZodType<
|
|
2578
|
+
SearchKnowledge1KnowledgeNe,
|
|
2976
2579
|
z.ZodTypeDef,
|
|
2977
2580
|
unknown
|
|
2978
2581
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2979
2582
|
|
|
2980
2583
|
/** @internal */
|
|
2981
|
-
export type
|
|
2982
|
-
| string
|
|
2983
|
-
| number
|
|
2984
|
-
| boolean;
|
|
2584
|
+
export type SearchKnowledge1KnowledgeNe$Outbound = string | number | boolean;
|
|
2985
2585
|
|
|
2986
2586
|
/** @internal */
|
|
2987
|
-
export const
|
|
2988
|
-
|
|
2587
|
+
export const SearchKnowledge1KnowledgeNe$outboundSchema: z.ZodType<
|
|
2588
|
+
SearchKnowledge1KnowledgeNe$Outbound,
|
|
2989
2589
|
z.ZodTypeDef,
|
|
2990
|
-
|
|
2590
|
+
SearchKnowledge1KnowledgeNe
|
|
2991
2591
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
2992
2592
|
|
|
2993
2593
|
/**
|
|
2994
2594
|
* @internal
|
|
2995
2595
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2996
2596
|
*/
|
|
2997
|
-
export namespace
|
|
2998
|
-
/** @deprecated use `
|
|
2999
|
-
export const inboundSchema =
|
|
3000
|
-
/** @deprecated use `
|
|
3001
|
-
export const outboundSchema =
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
export type Outbound = SearchKnowledge1KnowledgeDollarNe$Outbound;
|
|
2597
|
+
export namespace SearchKnowledge1KnowledgeNe$ {
|
|
2598
|
+
/** @deprecated use `SearchKnowledge1KnowledgeNe$inboundSchema` instead. */
|
|
2599
|
+
export const inboundSchema = SearchKnowledge1KnowledgeNe$inboundSchema;
|
|
2600
|
+
/** @deprecated use `SearchKnowledge1KnowledgeNe$outboundSchema` instead. */
|
|
2601
|
+
export const outboundSchema = SearchKnowledge1KnowledgeNe$outboundSchema;
|
|
2602
|
+
/** @deprecated use `SearchKnowledge1KnowledgeNe$Outbound` instead. */
|
|
2603
|
+
export type Outbound = SearchKnowledge1KnowledgeNe$Outbound;
|
|
3005
2604
|
}
|
|
3006
2605
|
|
|
3007
|
-
export function
|
|
3008
|
-
|
|
2606
|
+
export function searchKnowledge1KnowledgeNeToJSON(
|
|
2607
|
+
searchKnowledge1KnowledgeNe: SearchKnowledge1KnowledgeNe,
|
|
3009
2608
|
): string {
|
|
3010
2609
|
return JSON.stringify(
|
|
3011
|
-
|
|
3012
|
-
|
|
2610
|
+
SearchKnowledge1KnowledgeNe$outboundSchema.parse(
|
|
2611
|
+
searchKnowledge1KnowledgeNe,
|
|
3013
2612
|
),
|
|
3014
2613
|
);
|
|
3015
2614
|
}
|
|
3016
2615
|
|
|
3017
|
-
export function
|
|
2616
|
+
export function searchKnowledge1KnowledgeNeFromJSON(
|
|
3018
2617
|
jsonString: string,
|
|
3019
|
-
): SafeParseResult<
|
|
2618
|
+
): SafeParseResult<SearchKnowledge1KnowledgeNe, SDKValidationError> {
|
|
3020
2619
|
return safeParse(
|
|
3021
2620
|
jsonString,
|
|
3022
|
-
(x) =>
|
|
3023
|
-
`Failed to parse '
|
|
2621
|
+
(x) => SearchKnowledge1KnowledgeNe$inboundSchema.parse(JSON.parse(x)),
|
|
2622
|
+
`Failed to parse 'SearchKnowledge1KnowledgeNe' from JSON`,
|
|
3024
2623
|
);
|
|
3025
2624
|
}
|
|
3026
2625
|
|
|
3027
2626
|
/** @internal */
|
|
3028
|
-
export const
|
|
3029
|
-
|
|
2627
|
+
export const SearchKnowledge1Ne$inboundSchema: z.ZodType<
|
|
2628
|
+
SearchKnowledge1Ne,
|
|
3030
2629
|
z.ZodTypeDef,
|
|
3031
2630
|
unknown
|
|
3032
2631
|
> = z.object({
|
|
3033
|
-
|
|
3034
|
-
}).transform((v) => {
|
|
3035
|
-
return remap$(v, {
|
|
3036
|
-
"$ne": "dollarNe",
|
|
3037
|
-
});
|
|
2632
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
3038
2633
|
});
|
|
3039
2634
|
|
|
3040
2635
|
/** @internal */
|
|
3041
|
-
export type
|
|
3042
|
-
|
|
2636
|
+
export type SearchKnowledge1Ne$Outbound = {
|
|
2637
|
+
ne: string | number | boolean;
|
|
3043
2638
|
};
|
|
3044
2639
|
|
|
3045
2640
|
/** @internal */
|
|
3046
|
-
export const
|
|
3047
|
-
|
|
2641
|
+
export const SearchKnowledge1Ne$outboundSchema: z.ZodType<
|
|
2642
|
+
SearchKnowledge1Ne$Outbound,
|
|
3048
2643
|
z.ZodTypeDef,
|
|
3049
|
-
|
|
2644
|
+
SearchKnowledge1Ne
|
|
3050
2645
|
> = z.object({
|
|
3051
|
-
|
|
3052
|
-
}).transform((v) => {
|
|
3053
|
-
return remap$(v, {
|
|
3054
|
-
dollarNe: "$ne",
|
|
3055
|
-
});
|
|
2646
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
3056
2647
|
});
|
|
3057
2648
|
|
|
3058
2649
|
/**
|
|
3059
2650
|
* @internal
|
|
3060
2651
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3061
2652
|
*/
|
|
3062
|
-
export namespace
|
|
3063
|
-
/** @deprecated use `
|
|
3064
|
-
export const inboundSchema =
|
|
3065
|
-
/** @deprecated use `
|
|
3066
|
-
export const outboundSchema =
|
|
3067
|
-
/** @deprecated use `
|
|
3068
|
-
export type Outbound =
|
|
2653
|
+
export namespace SearchKnowledge1Ne$ {
|
|
2654
|
+
/** @deprecated use `SearchKnowledge1Ne$inboundSchema` instead. */
|
|
2655
|
+
export const inboundSchema = SearchKnowledge1Ne$inboundSchema;
|
|
2656
|
+
/** @deprecated use `SearchKnowledge1Ne$outboundSchema` instead. */
|
|
2657
|
+
export const outboundSchema = SearchKnowledge1Ne$outboundSchema;
|
|
2658
|
+
/** @deprecated use `SearchKnowledge1Ne$Outbound` instead. */
|
|
2659
|
+
export type Outbound = SearchKnowledge1Ne$Outbound;
|
|
3069
2660
|
}
|
|
3070
2661
|
|
|
3071
|
-
export function
|
|
3072
|
-
|
|
2662
|
+
export function searchKnowledge1NeToJSON(
|
|
2663
|
+
searchKnowledge1Ne: SearchKnowledge1Ne,
|
|
3073
2664
|
): string {
|
|
3074
2665
|
return JSON.stringify(
|
|
3075
|
-
|
|
2666
|
+
SearchKnowledge1Ne$outboundSchema.parse(searchKnowledge1Ne),
|
|
3076
2667
|
);
|
|
3077
2668
|
}
|
|
3078
2669
|
|
|
3079
|
-
export function
|
|
2670
|
+
export function searchKnowledge1NeFromJSON(
|
|
3080
2671
|
jsonString: string,
|
|
3081
|
-
): SafeParseResult<
|
|
2672
|
+
): SafeParseResult<SearchKnowledge1Ne, SDKValidationError> {
|
|
3082
2673
|
return safeParse(
|
|
3083
2674
|
jsonString,
|
|
3084
|
-
(x) =>
|
|
3085
|
-
`Failed to parse '
|
|
2675
|
+
(x) => SearchKnowledge1Ne$inboundSchema.parse(JSON.parse(x)),
|
|
2676
|
+
`Failed to parse 'SearchKnowledge1Ne' from JSON`,
|
|
3086
2677
|
);
|
|
3087
2678
|
}
|
|
3088
2679
|
|
|
3089
2680
|
/** @internal */
|
|
3090
|
-
export const
|
|
3091
|
-
|
|
2681
|
+
export const SearchKnowledge1KnowledgeEq$inboundSchema: z.ZodType<
|
|
2682
|
+
SearchKnowledge1KnowledgeEq,
|
|
3092
2683
|
z.ZodTypeDef,
|
|
3093
2684
|
unknown
|
|
3094
2685
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
3095
2686
|
|
|
3096
2687
|
/** @internal */
|
|
3097
|
-
export type
|
|
3098
|
-
| string
|
|
3099
|
-
| number
|
|
3100
|
-
| boolean;
|
|
2688
|
+
export type SearchKnowledge1KnowledgeEq$Outbound = string | number | boolean;
|
|
3101
2689
|
|
|
3102
2690
|
/** @internal */
|
|
3103
|
-
export const
|
|
3104
|
-
|
|
2691
|
+
export const SearchKnowledge1KnowledgeEq$outboundSchema: z.ZodType<
|
|
2692
|
+
SearchKnowledge1KnowledgeEq$Outbound,
|
|
3105
2693
|
z.ZodTypeDef,
|
|
3106
|
-
|
|
2694
|
+
SearchKnowledge1KnowledgeEq
|
|
3107
2695
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
3108
2696
|
|
|
3109
2697
|
/**
|
|
3110
2698
|
* @internal
|
|
3111
2699
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3112
2700
|
*/
|
|
3113
|
-
export namespace
|
|
3114
|
-
/** @deprecated use `
|
|
3115
|
-
export const inboundSchema =
|
|
3116
|
-
/** @deprecated use `
|
|
3117
|
-
export const outboundSchema =
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
export type Outbound = SearchKnowledge1KnowledgeDollarEq$Outbound;
|
|
2701
|
+
export namespace SearchKnowledge1KnowledgeEq$ {
|
|
2702
|
+
/** @deprecated use `SearchKnowledge1KnowledgeEq$inboundSchema` instead. */
|
|
2703
|
+
export const inboundSchema = SearchKnowledge1KnowledgeEq$inboundSchema;
|
|
2704
|
+
/** @deprecated use `SearchKnowledge1KnowledgeEq$outboundSchema` instead. */
|
|
2705
|
+
export const outboundSchema = SearchKnowledge1KnowledgeEq$outboundSchema;
|
|
2706
|
+
/** @deprecated use `SearchKnowledge1KnowledgeEq$Outbound` instead. */
|
|
2707
|
+
export type Outbound = SearchKnowledge1KnowledgeEq$Outbound;
|
|
3121
2708
|
}
|
|
3122
2709
|
|
|
3123
|
-
export function
|
|
3124
|
-
|
|
2710
|
+
export function searchKnowledge1KnowledgeEqToJSON(
|
|
2711
|
+
searchKnowledge1KnowledgeEq: SearchKnowledge1KnowledgeEq,
|
|
3125
2712
|
): string {
|
|
3126
2713
|
return JSON.stringify(
|
|
3127
|
-
|
|
3128
|
-
|
|
2714
|
+
SearchKnowledge1KnowledgeEq$outboundSchema.parse(
|
|
2715
|
+
searchKnowledge1KnowledgeEq,
|
|
3129
2716
|
),
|
|
3130
2717
|
);
|
|
3131
2718
|
}
|
|
3132
2719
|
|
|
3133
|
-
export function
|
|
2720
|
+
export function searchKnowledge1KnowledgeEqFromJSON(
|
|
3134
2721
|
jsonString: string,
|
|
3135
|
-
): SafeParseResult<
|
|
2722
|
+
): SafeParseResult<SearchKnowledge1KnowledgeEq, SDKValidationError> {
|
|
3136
2723
|
return safeParse(
|
|
3137
2724
|
jsonString,
|
|
3138
|
-
(x) =>
|
|
3139
|
-
`Failed to parse '
|
|
2725
|
+
(x) => SearchKnowledge1KnowledgeEq$inboundSchema.parse(JSON.parse(x)),
|
|
2726
|
+
`Failed to parse 'SearchKnowledge1KnowledgeEq' from JSON`,
|
|
3140
2727
|
);
|
|
3141
2728
|
}
|
|
3142
2729
|
|
|
3143
2730
|
/** @internal */
|
|
3144
|
-
export const
|
|
3145
|
-
|
|
2731
|
+
export const SearchKnowledge1Eq$inboundSchema: z.ZodType<
|
|
2732
|
+
SearchKnowledge1Eq,
|
|
3146
2733
|
z.ZodTypeDef,
|
|
3147
2734
|
unknown
|
|
3148
2735
|
> = z.object({
|
|
3149
|
-
|
|
3150
|
-
}).transform((v) => {
|
|
3151
|
-
return remap$(v, {
|
|
3152
|
-
"$eq": "dollarEq",
|
|
3153
|
-
});
|
|
2736
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
3154
2737
|
});
|
|
3155
2738
|
|
|
3156
2739
|
/** @internal */
|
|
3157
|
-
export type
|
|
3158
|
-
|
|
2740
|
+
export type SearchKnowledge1Eq$Outbound = {
|
|
2741
|
+
eq: string | number | boolean;
|
|
3159
2742
|
};
|
|
3160
2743
|
|
|
3161
2744
|
/** @internal */
|
|
3162
|
-
export const
|
|
3163
|
-
|
|
2745
|
+
export const SearchKnowledge1Eq$outboundSchema: z.ZodType<
|
|
2746
|
+
SearchKnowledge1Eq$Outbound,
|
|
3164
2747
|
z.ZodTypeDef,
|
|
3165
|
-
|
|
2748
|
+
SearchKnowledge1Eq
|
|
3166
2749
|
> = z.object({
|
|
3167
|
-
|
|
3168
|
-
}).transform((v) => {
|
|
3169
|
-
return remap$(v, {
|
|
3170
|
-
dollarEq: "$eq",
|
|
3171
|
-
});
|
|
2750
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
3172
2751
|
});
|
|
3173
2752
|
|
|
3174
2753
|
/**
|
|
3175
2754
|
* @internal
|
|
3176
2755
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3177
2756
|
*/
|
|
3178
|
-
export namespace
|
|
3179
|
-
/** @deprecated use `
|
|
3180
|
-
export const inboundSchema =
|
|
3181
|
-
/** @deprecated use `
|
|
3182
|
-
export const outboundSchema =
|
|
3183
|
-
/** @deprecated use `
|
|
3184
|
-
export type Outbound =
|
|
2757
|
+
export namespace SearchKnowledge1Eq$ {
|
|
2758
|
+
/** @deprecated use `SearchKnowledge1Eq$inboundSchema` instead. */
|
|
2759
|
+
export const inboundSchema = SearchKnowledge1Eq$inboundSchema;
|
|
2760
|
+
/** @deprecated use `SearchKnowledge1Eq$outboundSchema` instead. */
|
|
2761
|
+
export const outboundSchema = SearchKnowledge1Eq$outboundSchema;
|
|
2762
|
+
/** @deprecated use `SearchKnowledge1Eq$Outbound` instead. */
|
|
2763
|
+
export type Outbound = SearchKnowledge1Eq$Outbound;
|
|
3185
2764
|
}
|
|
3186
2765
|
|
|
3187
|
-
export function
|
|
3188
|
-
|
|
2766
|
+
export function searchKnowledge1EqToJSON(
|
|
2767
|
+
searchKnowledge1Eq: SearchKnowledge1Eq,
|
|
3189
2768
|
): string {
|
|
3190
2769
|
return JSON.stringify(
|
|
3191
|
-
|
|
2770
|
+
SearchKnowledge1Eq$outboundSchema.parse(searchKnowledge1Eq),
|
|
3192
2771
|
);
|
|
3193
2772
|
}
|
|
3194
2773
|
|
|
3195
|
-
export function
|
|
2774
|
+
export function searchKnowledge1EqFromJSON(
|
|
3196
2775
|
jsonString: string,
|
|
3197
|
-
): SafeParseResult<
|
|
2776
|
+
): SafeParseResult<SearchKnowledge1Eq, SDKValidationError> {
|
|
3198
2777
|
return safeParse(
|
|
3199
2778
|
jsonString,
|
|
3200
|
-
(x) =>
|
|
3201
|
-
`Failed to parse '
|
|
2779
|
+
(x) => SearchKnowledge1Eq$inboundSchema.parse(JSON.parse(x)),
|
|
2780
|
+
`Failed to parse 'SearchKnowledge1Eq' from JSON`,
|
|
3202
2781
|
);
|
|
3203
2782
|
}
|
|
3204
2783
|
|
|
3205
2784
|
/** @internal */
|
|
3206
|
-
export const
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
2785
|
+
export const FilterBy1$inboundSchema: z.ZodType<
|
|
2786
|
+
FilterBy1,
|
|
2787
|
+
z.ZodTypeDef,
|
|
2788
|
+
unknown
|
|
2789
|
+
> = z.union([
|
|
2790
|
+
z.lazy(() => SearchKnowledge1Eq$inboundSchema),
|
|
2791
|
+
z.lazy(() => SearchKnowledge1Ne$inboundSchema),
|
|
2792
|
+
z.lazy(() => SearchKnowledge13$inboundSchema),
|
|
2793
|
+
z.lazy(() => SearchKnowledge1Gte$inboundSchema),
|
|
2794
|
+
z.lazy(() => SearchKnowledge1Lt$inboundSchema),
|
|
2795
|
+
z.lazy(() => SearchKnowledge1Lte$inboundSchema),
|
|
2796
|
+
z.lazy(() => SearchKnowledge1In$inboundSchema),
|
|
2797
|
+
z.lazy(() => SearchKnowledge1Nin$inboundSchema),
|
|
2798
|
+
z.lazy(() => SearchKnowledge1Exists$inboundSchema),
|
|
2799
|
+
]);
|
|
2800
|
+
|
|
2801
|
+
/** @internal */
|
|
2802
|
+
export type FilterBy1$Outbound =
|
|
2803
|
+
| SearchKnowledge1Eq$Outbound
|
|
2804
|
+
| SearchKnowledge1Ne$Outbound
|
|
3223
2805
|
| SearchKnowledge13$Outbound
|
|
3224
|
-
|
|
|
3225
|
-
|
|
|
3226
|
-
|
|
|
3227
|
-
|
|
|
3228
|
-
|
|
|
3229
|
-
|
|
|
2806
|
+
| SearchKnowledge1Gte$Outbound
|
|
2807
|
+
| SearchKnowledge1Lt$Outbound
|
|
2808
|
+
| SearchKnowledge1Lte$Outbound
|
|
2809
|
+
| SearchKnowledge1In$Outbound
|
|
2810
|
+
| SearchKnowledge1Nin$Outbound
|
|
2811
|
+
| SearchKnowledge1Exists$Outbound;
|
|
3230
2812
|
|
|
3231
2813
|
/** @internal */
|
|
3232
|
-
export const
|
|
3233
|
-
|
|
2814
|
+
export const FilterBy1$outboundSchema: z.ZodType<
|
|
2815
|
+
FilterBy1$Outbound,
|
|
3234
2816
|
z.ZodTypeDef,
|
|
3235
|
-
|
|
2817
|
+
FilterBy1
|
|
3236
2818
|
> = z.union([
|
|
3237
|
-
z.lazy(() =>
|
|
3238
|
-
z.lazy(() =>
|
|
2819
|
+
z.lazy(() => SearchKnowledge1Eq$outboundSchema),
|
|
2820
|
+
z.lazy(() => SearchKnowledge1Ne$outboundSchema),
|
|
3239
2821
|
z.lazy(() => SearchKnowledge13$outboundSchema),
|
|
3240
|
-
z.lazy(() =>
|
|
3241
|
-
z.lazy(() =>
|
|
3242
|
-
z.lazy(() =>
|
|
3243
|
-
z.lazy(() =>
|
|
3244
|
-
z.lazy(() =>
|
|
3245
|
-
z.lazy(() =>
|
|
2822
|
+
z.lazy(() => SearchKnowledge1Gte$outboundSchema),
|
|
2823
|
+
z.lazy(() => SearchKnowledge1Lt$outboundSchema),
|
|
2824
|
+
z.lazy(() => SearchKnowledge1Lte$outboundSchema),
|
|
2825
|
+
z.lazy(() => SearchKnowledge1In$outboundSchema),
|
|
2826
|
+
z.lazy(() => SearchKnowledge1Nin$outboundSchema),
|
|
2827
|
+
z.lazy(() => SearchKnowledge1Exists$outboundSchema),
|
|
3246
2828
|
]);
|
|
3247
2829
|
|
|
3248
2830
|
/**
|
|
3249
2831
|
* @internal
|
|
3250
2832
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3251
2833
|
*/
|
|
3252
|
-
export namespace
|
|
3253
|
-
/** @deprecated use `
|
|
3254
|
-
export const inboundSchema =
|
|
3255
|
-
/** @deprecated use `
|
|
3256
|
-
export const outboundSchema =
|
|
3257
|
-
/** @deprecated use `
|
|
3258
|
-
export type Outbound =
|
|
2834
|
+
export namespace FilterBy1$ {
|
|
2835
|
+
/** @deprecated use `FilterBy1$inboundSchema` instead. */
|
|
2836
|
+
export const inboundSchema = FilterBy1$inboundSchema;
|
|
2837
|
+
/** @deprecated use `FilterBy1$outboundSchema` instead. */
|
|
2838
|
+
export const outboundSchema = FilterBy1$outboundSchema;
|
|
2839
|
+
/** @deprecated use `FilterBy1$Outbound` instead. */
|
|
2840
|
+
export type Outbound = FilterBy1$Outbound;
|
|
3259
2841
|
}
|
|
3260
2842
|
|
|
3261
|
-
export function
|
|
3262
|
-
return JSON.stringify(
|
|
2843
|
+
export function filterBy1ToJSON(filterBy1: FilterBy1): string {
|
|
2844
|
+
return JSON.stringify(FilterBy1$outboundSchema.parse(filterBy1));
|
|
3263
2845
|
}
|
|
3264
2846
|
|
|
3265
|
-
export function
|
|
2847
|
+
export function filterBy1FromJSON(
|
|
3266
2848
|
jsonString: string,
|
|
3267
|
-
): SafeParseResult<
|
|
2849
|
+
): SafeParseResult<FilterBy1, SDKValidationError> {
|
|
3268
2850
|
return safeParse(
|
|
3269
2851
|
jsonString,
|
|
3270
|
-
(x) =>
|
|
3271
|
-
`Failed to parse '
|
|
2852
|
+
(x) => FilterBy1$inboundSchema.parse(JSON.parse(x)),
|
|
2853
|
+
`Failed to parse 'FilterBy1' from JSON`,
|
|
3272
2854
|
);
|
|
3273
2855
|
}
|
|
3274
2856
|
|
|
3275
2857
|
/** @internal */
|
|
3276
|
-
export const
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
2858
|
+
export const FilterBy$inboundSchema: z.ZodType<
|
|
2859
|
+
FilterBy,
|
|
2860
|
+
z.ZodTypeDef,
|
|
2861
|
+
unknown
|
|
2862
|
+
> = z.union([
|
|
2863
|
+
z.lazy(() => FilterByAnd$inboundSchema),
|
|
2864
|
+
z.lazy(() => FilterByOr$inboundSchema),
|
|
2865
|
+
z.record(z.union([
|
|
2866
|
+
z.lazy(() => SearchKnowledge1Eq$inboundSchema),
|
|
2867
|
+
z.lazy(() => SearchKnowledge1Ne$inboundSchema),
|
|
2868
|
+
z.lazy(() => SearchKnowledge13$inboundSchema),
|
|
2869
|
+
z.lazy(() => SearchKnowledge1Gte$inboundSchema),
|
|
2870
|
+
z.lazy(() => SearchKnowledge1Lt$inboundSchema),
|
|
2871
|
+
z.lazy(() => SearchKnowledge1Lte$inboundSchema),
|
|
2872
|
+
z.lazy(() => SearchKnowledge1In$inboundSchema),
|
|
2873
|
+
z.lazy(() => SearchKnowledge1Nin$inboundSchema),
|
|
2874
|
+
z.lazy(() => SearchKnowledge1Exists$inboundSchema),
|
|
2875
|
+
])),
|
|
2876
|
+
]);
|
|
3292
2877
|
|
|
3293
2878
|
/** @internal */
|
|
3294
|
-
export type
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
| SearchKnowledge1DollarNin$Outbound
|
|
3307
|
-
| SearchKnowledge1DollarExists$Outbound;
|
|
3308
|
-
};
|
|
2879
|
+
export type FilterBy$Outbound = FilterByAnd$Outbound | FilterByOr$Outbound | {
|
|
2880
|
+
[k: string]:
|
|
2881
|
+
| SearchKnowledge1Eq$Outbound
|
|
2882
|
+
| SearchKnowledge1Ne$Outbound
|
|
2883
|
+
| SearchKnowledge13$Outbound
|
|
2884
|
+
| SearchKnowledge1Gte$Outbound
|
|
2885
|
+
| SearchKnowledge1Lt$Outbound
|
|
2886
|
+
| SearchKnowledge1Lte$Outbound
|
|
2887
|
+
| SearchKnowledge1In$Outbound
|
|
2888
|
+
| SearchKnowledge1Nin$Outbound
|
|
2889
|
+
| SearchKnowledge1Exists$Outbound;
|
|
2890
|
+
};
|
|
3309
2891
|
|
|
3310
2892
|
/** @internal */
|
|
3311
|
-
export const
|
|
3312
|
-
|
|
2893
|
+
export const FilterBy$outboundSchema: z.ZodType<
|
|
2894
|
+
FilterBy$Outbound,
|
|
3313
2895
|
z.ZodTypeDef,
|
|
3314
|
-
|
|
2896
|
+
FilterBy
|
|
3315
2897
|
> = z.union([
|
|
3316
|
-
z.lazy(() =>
|
|
3317
|
-
z.lazy(() =>
|
|
2898
|
+
z.lazy(() => FilterByAnd$outboundSchema),
|
|
2899
|
+
z.lazy(() => FilterByOr$outboundSchema),
|
|
3318
2900
|
z.record(z.union([
|
|
3319
|
-
z.lazy(() =>
|
|
3320
|
-
z.lazy(() =>
|
|
2901
|
+
z.lazy(() => SearchKnowledge1Eq$outboundSchema),
|
|
2902
|
+
z.lazy(() => SearchKnowledge1Ne$outboundSchema),
|
|
3321
2903
|
z.lazy(() => SearchKnowledge13$outboundSchema),
|
|
3322
|
-
z.lazy(() =>
|
|
3323
|
-
z.lazy(() =>
|
|
3324
|
-
z.lazy(() =>
|
|
3325
|
-
z.lazy(() =>
|
|
3326
|
-
z.lazy(() =>
|
|
3327
|
-
z.lazy(() =>
|
|
2904
|
+
z.lazy(() => SearchKnowledge1Gte$outboundSchema),
|
|
2905
|
+
z.lazy(() => SearchKnowledge1Lt$outboundSchema),
|
|
2906
|
+
z.lazy(() => SearchKnowledge1Lte$outboundSchema),
|
|
2907
|
+
z.lazy(() => SearchKnowledge1In$outboundSchema),
|
|
2908
|
+
z.lazy(() => SearchKnowledge1Nin$outboundSchema),
|
|
2909
|
+
z.lazy(() => SearchKnowledge1Exists$outboundSchema),
|
|
3328
2910
|
])),
|
|
3329
2911
|
]);
|
|
3330
2912
|
|
|
@@ -3332,26 +2914,26 @@ export const Filter$outboundSchema: z.ZodType<
|
|
|
3332
2914
|
* @internal
|
|
3333
2915
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3334
2916
|
*/
|
|
3335
|
-
export namespace
|
|
3336
|
-
/** @deprecated use `
|
|
3337
|
-
export const inboundSchema =
|
|
3338
|
-
/** @deprecated use `
|
|
3339
|
-
export const outboundSchema =
|
|
3340
|
-
/** @deprecated use `
|
|
3341
|
-
export type Outbound =
|
|
2917
|
+
export namespace FilterBy$ {
|
|
2918
|
+
/** @deprecated use `FilterBy$inboundSchema` instead. */
|
|
2919
|
+
export const inboundSchema = FilterBy$inboundSchema;
|
|
2920
|
+
/** @deprecated use `FilterBy$outboundSchema` instead. */
|
|
2921
|
+
export const outboundSchema = FilterBy$outboundSchema;
|
|
2922
|
+
/** @deprecated use `FilterBy$Outbound` instead. */
|
|
2923
|
+
export type Outbound = FilterBy$Outbound;
|
|
3342
2924
|
}
|
|
3343
2925
|
|
|
3344
|
-
export function
|
|
3345
|
-
return JSON.stringify(
|
|
2926
|
+
export function filterByToJSON(filterBy: FilterBy): string {
|
|
2927
|
+
return JSON.stringify(FilterBy$outboundSchema.parse(filterBy));
|
|
3346
2928
|
}
|
|
3347
2929
|
|
|
3348
|
-
export function
|
|
2930
|
+
export function filterByFromJSON(
|
|
3349
2931
|
jsonString: string,
|
|
3350
|
-
): SafeParseResult<
|
|
2932
|
+
): SafeParseResult<FilterBy, SDKValidationError> {
|
|
3351
2933
|
return safeParse(
|
|
3352
2934
|
jsonString,
|
|
3353
|
-
(x) =>
|
|
3354
|
-
`Failed to parse '
|
|
2935
|
+
(x) => FilterBy$inboundSchema.parse(JSON.parse(x)),
|
|
2936
|
+
`Failed to parse 'FilterBy' from JSON`,
|
|
3355
2937
|
);
|
|
3356
2938
|
}
|
|
3357
2939
|
|
|
@@ -3432,25 +3014,26 @@ export const SearchKnowledgeRequestBody$inboundSchema: z.ZodType<
|
|
|
3432
3014
|
query: z.string(),
|
|
3433
3015
|
top_k: z.number().int().optional(),
|
|
3434
3016
|
threshold: z.number().optional(),
|
|
3435
|
-
|
|
3436
|
-
z.lazy(() =>
|
|
3437
|
-
z.lazy(() =>
|
|
3017
|
+
filter_by: z.union([
|
|
3018
|
+
z.lazy(() => FilterByAnd$inboundSchema),
|
|
3019
|
+
z.lazy(() => FilterByOr$inboundSchema),
|
|
3438
3020
|
z.record(z.union([
|
|
3439
|
-
z.lazy(() =>
|
|
3440
|
-
z.lazy(() =>
|
|
3021
|
+
z.lazy(() => SearchKnowledge1Eq$inboundSchema),
|
|
3022
|
+
z.lazy(() => SearchKnowledge1Ne$inboundSchema),
|
|
3441
3023
|
z.lazy(() => SearchKnowledge13$inboundSchema),
|
|
3442
|
-
z.lazy(() =>
|
|
3443
|
-
z.lazy(() =>
|
|
3444
|
-
z.lazy(() =>
|
|
3445
|
-
z.lazy(() =>
|
|
3446
|
-
z.lazy(() =>
|
|
3447
|
-
z.lazy(() =>
|
|
3024
|
+
z.lazy(() => SearchKnowledge1Gte$inboundSchema),
|
|
3025
|
+
z.lazy(() => SearchKnowledge1Lt$inboundSchema),
|
|
3026
|
+
z.lazy(() => SearchKnowledge1Lte$inboundSchema),
|
|
3027
|
+
z.lazy(() => SearchKnowledge1In$inboundSchema),
|
|
3028
|
+
z.lazy(() => SearchKnowledge1Nin$inboundSchema),
|
|
3029
|
+
z.lazy(() => SearchKnowledge1Exists$inboundSchema),
|
|
3448
3030
|
])),
|
|
3449
3031
|
]).optional(),
|
|
3450
3032
|
search_options: z.lazy(() => SearchOptions$inboundSchema).optional(),
|
|
3451
3033
|
}).transform((v) => {
|
|
3452
3034
|
return remap$(v, {
|
|
3453
3035
|
"top_k": "topK",
|
|
3036
|
+
"filter_by": "filterBy",
|
|
3454
3037
|
"search_options": "searchOptions",
|
|
3455
3038
|
});
|
|
3456
3039
|
});
|
|
@@ -3460,17 +3043,17 @@ export type SearchKnowledgeRequestBody$Outbound = {
|
|
|
3460
3043
|
query: string;
|
|
3461
3044
|
top_k?: number | undefined;
|
|
3462
3045
|
threshold?: number | undefined;
|
|
3463
|
-
|
|
3046
|
+
filter_by?: FilterByAnd$Outbound | FilterByOr$Outbound | {
|
|
3464
3047
|
[k: string]:
|
|
3465
|
-
|
|
|
3466
|
-
|
|
|
3048
|
+
| SearchKnowledge1Eq$Outbound
|
|
3049
|
+
| SearchKnowledge1Ne$Outbound
|
|
3467
3050
|
| SearchKnowledge13$Outbound
|
|
3468
|
-
|
|
|
3469
|
-
|
|
|
3470
|
-
|
|
|
3471
|
-
|
|
|
3472
|
-
|
|
|
3473
|
-
|
|
|
3051
|
+
| SearchKnowledge1Gte$Outbound
|
|
3052
|
+
| SearchKnowledge1Lt$Outbound
|
|
3053
|
+
| SearchKnowledge1Lte$Outbound
|
|
3054
|
+
| SearchKnowledge1In$Outbound
|
|
3055
|
+
| SearchKnowledge1Nin$Outbound
|
|
3056
|
+
| SearchKnowledge1Exists$Outbound;
|
|
3474
3057
|
} | undefined;
|
|
3475
3058
|
search_options?: SearchOptions$Outbound | undefined;
|
|
3476
3059
|
};
|
|
@@ -3484,25 +3067,26 @@ export const SearchKnowledgeRequestBody$outboundSchema: z.ZodType<
|
|
|
3484
3067
|
query: z.string(),
|
|
3485
3068
|
topK: z.number().int().optional(),
|
|
3486
3069
|
threshold: z.number().optional(),
|
|
3487
|
-
|
|
3488
|
-
z.lazy(() =>
|
|
3489
|
-
z.lazy(() =>
|
|
3070
|
+
filterBy: z.union([
|
|
3071
|
+
z.lazy(() => FilterByAnd$outboundSchema),
|
|
3072
|
+
z.lazy(() => FilterByOr$outboundSchema),
|
|
3490
3073
|
z.record(z.union([
|
|
3491
|
-
z.lazy(() =>
|
|
3492
|
-
z.lazy(() =>
|
|
3074
|
+
z.lazy(() => SearchKnowledge1Eq$outboundSchema),
|
|
3075
|
+
z.lazy(() => SearchKnowledge1Ne$outboundSchema),
|
|
3493
3076
|
z.lazy(() => SearchKnowledge13$outboundSchema),
|
|
3494
|
-
z.lazy(() =>
|
|
3495
|
-
z.lazy(() =>
|
|
3496
|
-
z.lazy(() =>
|
|
3497
|
-
z.lazy(() =>
|
|
3498
|
-
z.lazy(() =>
|
|
3499
|
-
z.lazy(() =>
|
|
3077
|
+
z.lazy(() => SearchKnowledge1Gte$outboundSchema),
|
|
3078
|
+
z.lazy(() => SearchKnowledge1Lt$outboundSchema),
|
|
3079
|
+
z.lazy(() => SearchKnowledge1Lte$outboundSchema),
|
|
3080
|
+
z.lazy(() => SearchKnowledge1In$outboundSchema),
|
|
3081
|
+
z.lazy(() => SearchKnowledge1Nin$outboundSchema),
|
|
3082
|
+
z.lazy(() => SearchKnowledge1Exists$outboundSchema),
|
|
3500
3083
|
])),
|
|
3501
3084
|
]).optional(),
|
|
3502
3085
|
searchOptions: z.lazy(() => SearchOptions$outboundSchema).optional(),
|
|
3503
3086
|
}).transform((v) => {
|
|
3504
3087
|
return remap$(v, {
|
|
3505
3088
|
topK: "top_k",
|
|
3089
|
+
filterBy: "filter_by",
|
|
3506
3090
|
searchOptions: "search_options",
|
|
3507
3091
|
});
|
|
3508
3092
|
});
|