@weftlabs/sdk 0.26.7 → 0.26.9
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/README.md +3 -1
- package/dist/facilitator/middleware/index.js +1 -1
- package/dist/facilitator/middleware/index.js.map +1 -1
- package/dist/facilitator/middleware/index.mjs +1 -1
- package/dist/facilitator/middleware/index.mjs.map +1 -1
- package/dist/index.d.mts +162 -95
- package/dist/index.d.ts +162 -95
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +47 -0
- package/dist/index.mjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +1 -1
- package/dist/server.mjs.map +1 -1
- package/docs/SearchEndpointHit.md +4 -0
- package/docs/SearchHelperDocs.md +39 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -321,6 +321,10 @@ __export(src_exports, {
|
|
|
321
321
|
SearchFilterSpecFromJSONTyped: () => SearchFilterSpecFromJSONTyped,
|
|
322
322
|
SearchFilterSpecToJSON: () => SearchFilterSpecToJSON,
|
|
323
323
|
SearchFilterSpecToJSONTyped: () => SearchFilterSpecToJSONTyped,
|
|
324
|
+
SearchHelperDocsFromJSON: () => SearchHelperDocsFromJSON,
|
|
325
|
+
SearchHelperDocsFromJSONTyped: () => SearchHelperDocsFromJSONTyped,
|
|
326
|
+
SearchHelperDocsToJSON: () => SearchHelperDocsToJSON,
|
|
327
|
+
SearchHelperDocsToJSONTyped: () => SearchHelperDocsToJSONTyped,
|
|
324
328
|
SearchMethodFilterEqEnum: () => SearchMethodFilterEqEnum,
|
|
325
329
|
SearchMethodFilterFromJSON: () => SearchMethodFilterFromJSON,
|
|
326
330
|
SearchMethodFilterFromJSONTyped: () => SearchMethodFilterFromJSONTyped,
|
|
@@ -482,6 +486,7 @@ __export(src_exports, {
|
|
|
482
486
|
instanceOfSearchErrorResponse: () => instanceOfSearchErrorResponse,
|
|
483
487
|
instanceOfSearchExecutionModeFilter: () => instanceOfSearchExecutionModeFilter,
|
|
484
488
|
instanceOfSearchFilterSpec: () => instanceOfSearchFilterSpec,
|
|
489
|
+
instanceOfSearchHelperDocs: () => instanceOfSearchHelperDocs,
|
|
485
490
|
instanceOfSearchMethodFilter: () => instanceOfSearchMethodFilter,
|
|
486
491
|
instanceOfSearchPaymentOffer: () => instanceOfSearchPaymentOffer,
|
|
487
492
|
instanceOfSearchPriceAtomicFilter: () => instanceOfSearchPriceAtomicFilter,
|
|
@@ -3277,6 +3282,39 @@ function SearchPaymentOfferToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3277
3282
|
};
|
|
3278
3283
|
}
|
|
3279
3284
|
|
|
3285
|
+
// src/generated/models/SearchHelperDocs.ts
|
|
3286
|
+
function instanceOfSearchHelperDocs(value) {
|
|
3287
|
+
return true;
|
|
3288
|
+
}
|
|
3289
|
+
function SearchHelperDocsFromJSON(json) {
|
|
3290
|
+
return SearchHelperDocsFromJSONTyped(json, false);
|
|
3291
|
+
}
|
|
3292
|
+
function SearchHelperDocsFromJSONTyped(json, ignoreDiscriminator) {
|
|
3293
|
+
if (json == null) {
|
|
3294
|
+
return json;
|
|
3295
|
+
}
|
|
3296
|
+
return {
|
|
3297
|
+
"website": json["website"] == null ? void 0 : json["website"],
|
|
3298
|
+
"homepage": json["homepage"] == null ? void 0 : json["homepage"],
|
|
3299
|
+
"api": json["api"] == null ? void 0 : json["api"],
|
|
3300
|
+
"llmsTxt": json["llms_txt"] == null ? void 0 : json["llms_txt"]
|
|
3301
|
+
};
|
|
3302
|
+
}
|
|
3303
|
+
function SearchHelperDocsToJSON(json) {
|
|
3304
|
+
return SearchHelperDocsToJSONTyped(json, false);
|
|
3305
|
+
}
|
|
3306
|
+
function SearchHelperDocsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3307
|
+
if (value == null) {
|
|
3308
|
+
return value;
|
|
3309
|
+
}
|
|
3310
|
+
return {
|
|
3311
|
+
"website": value["website"],
|
|
3312
|
+
"homepage": value["homepage"],
|
|
3313
|
+
"api": value["api"],
|
|
3314
|
+
"llms_txt": value["llmsTxt"]
|
|
3315
|
+
};
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3280
3318
|
// src/generated/models/SearchEndpointPrice.ts
|
|
3281
3319
|
var SearchEndpointPriceSourceEnum = {
|
|
3282
3320
|
Probe: "probe",
|
|
@@ -3342,6 +3380,8 @@ function SearchEndpointHitFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3342
3380
|
"accessMethods": json["access_methods"] == null ? void 0 : json["access_methods"].map(SearchAccessMethodFromJSON),
|
|
3343
3381
|
"service": json["service"] == null ? void 0 : SearchCuratedServiceFromJSON(json["service"]),
|
|
3344
3382
|
"operation": json["operation"] == null ? void 0 : SearchCuratedOperationFromJSON(json["operation"]),
|
|
3383
|
+
"docs": json["docs"] == null ? void 0 : SearchHelperDocsFromJSON(json["docs"]),
|
|
3384
|
+
"contractUrl": json["contract_url"] == null ? void 0 : json["contract_url"],
|
|
3345
3385
|
"outputSchema": json["output_schema"] == null ? void 0 : json["output_schema"],
|
|
3346
3386
|
"output": json["output"] == null ? void 0 : json["output"],
|
|
3347
3387
|
"execution": json["execution"] == null ? void 0 : SearchCuratedExecutionFromJSON(json["execution"]),
|
|
@@ -3374,6 +3414,8 @@ function SearchEndpointHitToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3374
3414
|
"access_methods": value["accessMethods"] == null ? void 0 : value["accessMethods"].map(SearchAccessMethodToJSON),
|
|
3375
3415
|
"service": SearchCuratedServiceToJSON(value["service"]),
|
|
3376
3416
|
"operation": SearchCuratedOperationToJSON(value["operation"]),
|
|
3417
|
+
"docs": SearchHelperDocsToJSON(value["docs"]),
|
|
3418
|
+
"contract_url": value["contractUrl"],
|
|
3377
3419
|
"output_schema": value["outputSchema"],
|
|
3378
3420
|
"output": value["output"],
|
|
3379
3421
|
"execution": SearchCuratedExecutionToJSON(value["execution"]),
|
|
@@ -5382,6 +5424,10 @@ __reExport(src_exports, facilitator_exports, module.exports);
|
|
|
5382
5424
|
SearchFilterSpecFromJSONTyped,
|
|
5383
5425
|
SearchFilterSpecToJSON,
|
|
5384
5426
|
SearchFilterSpecToJSONTyped,
|
|
5427
|
+
SearchHelperDocsFromJSON,
|
|
5428
|
+
SearchHelperDocsFromJSONTyped,
|
|
5429
|
+
SearchHelperDocsToJSON,
|
|
5430
|
+
SearchHelperDocsToJSONTyped,
|
|
5385
5431
|
SearchMethodFilterEqEnum,
|
|
5386
5432
|
SearchMethodFilterFromJSON,
|
|
5387
5433
|
SearchMethodFilterFromJSONTyped,
|
|
@@ -5543,6 +5589,7 @@ __reExport(src_exports, facilitator_exports, module.exports);
|
|
|
5543
5589
|
instanceOfSearchErrorResponse,
|
|
5544
5590
|
instanceOfSearchExecutionModeFilter,
|
|
5545
5591
|
instanceOfSearchFilterSpec,
|
|
5592
|
+
instanceOfSearchHelperDocs,
|
|
5546
5593
|
instanceOfSearchMethodFilter,
|
|
5547
5594
|
instanceOfSearchPaymentOffer,
|
|
5548
5595
|
instanceOfSearchPriceAtomicFilter,
|