@weftlabs/sdk 0.27.1 → 0.28.1
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/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 +135 -102
- package/dist/index.d.ts +135 -102
- package/dist/index.js +31 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -3
- 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/SearchEndpointCall.md +1 -1
- package/docs/SearchEndpointCallInputSchema.md +31 -0
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -294,6 +294,10 @@ __export(src_exports, {
|
|
|
294
294
|
SearchCuratedSourceToJSONTyped: () => SearchCuratedSourceToJSONTyped,
|
|
295
295
|
SearchEndpointCallFromJSON: () => SearchEndpointCallFromJSON,
|
|
296
296
|
SearchEndpointCallFromJSONTyped: () => SearchEndpointCallFromJSONTyped,
|
|
297
|
+
SearchEndpointCallInputSchemaFromJSON: () => SearchEndpointCallInputSchemaFromJSON,
|
|
298
|
+
SearchEndpointCallInputSchemaFromJSONTyped: () => SearchEndpointCallInputSchemaFromJSONTyped,
|
|
299
|
+
SearchEndpointCallInputSchemaToJSON: () => SearchEndpointCallInputSchemaToJSON,
|
|
300
|
+
SearchEndpointCallInputSchemaToJSONTyped: () => SearchEndpointCallInputSchemaToJSONTyped,
|
|
297
301
|
SearchEndpointCallToJSON: () => SearchEndpointCallToJSON,
|
|
298
302
|
SearchEndpointCallToJSONTyped: () => SearchEndpointCallToJSONTyped,
|
|
299
303
|
SearchEndpointHitFromJSON: () => SearchEndpointHitFromJSON,
|
|
@@ -481,6 +485,7 @@ __export(src_exports, {
|
|
|
481
485
|
instanceOfSearchCuratedService: () => instanceOfSearchCuratedService,
|
|
482
486
|
instanceOfSearchCuratedSource: () => instanceOfSearchCuratedSource,
|
|
483
487
|
instanceOfSearchEndpointCall: () => instanceOfSearchEndpointCall,
|
|
488
|
+
instanceOfSearchEndpointCallInputSchema: () => instanceOfSearchEndpointCallInputSchema,
|
|
484
489
|
instanceOfSearchEndpointHit: () => instanceOfSearchEndpointHit,
|
|
485
490
|
instanceOfSearchEndpointPrice: () => instanceOfSearchEndpointPrice,
|
|
486
491
|
instanceOfSearchErrorResponse: () => instanceOfSearchErrorResponse,
|
|
@@ -3207,6 +3212,23 @@ function SearchCuratedSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3207
3212
|
};
|
|
3208
3213
|
}
|
|
3209
3214
|
|
|
3215
|
+
// src/generated/models/SearchEndpointCallInputSchema.ts
|
|
3216
|
+
function instanceOfSearchEndpointCallInputSchema(value) {
|
|
3217
|
+
return true;
|
|
3218
|
+
}
|
|
3219
|
+
function SearchEndpointCallInputSchemaFromJSON(json) {
|
|
3220
|
+
return SearchEndpointCallInputSchemaFromJSONTyped(json, false);
|
|
3221
|
+
}
|
|
3222
|
+
function SearchEndpointCallInputSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
3223
|
+
return json;
|
|
3224
|
+
}
|
|
3225
|
+
function SearchEndpointCallInputSchemaToJSON(json) {
|
|
3226
|
+
return SearchEndpointCallInputSchemaToJSONTyped(json, false);
|
|
3227
|
+
}
|
|
3228
|
+
function SearchEndpointCallInputSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3229
|
+
return value;
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3210
3232
|
// src/generated/models/SearchEndpointCall.ts
|
|
3211
3233
|
function instanceOfSearchEndpointCall(value) {
|
|
3212
3234
|
return true;
|
|
@@ -3220,7 +3242,7 @@ function SearchEndpointCallFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3220
3242
|
}
|
|
3221
3243
|
return {
|
|
3222
3244
|
"method": json["method"] == null ? void 0 : json["method"],
|
|
3223
|
-
"inputSchema": json["input_schema"] == null ? void 0 : json["input_schema"],
|
|
3245
|
+
"inputSchema": json["input_schema"] == null ? void 0 : SearchEndpointCallInputSchemaFromJSON(json["input_schema"]),
|
|
3224
3246
|
"exampleRequest": json["example_request"] == null ? void 0 : json["example_request"],
|
|
3225
3247
|
"exampleResponse": json["example_response"] == null ? void 0 : json["example_response"]
|
|
3226
3248
|
};
|
|
@@ -3234,7 +3256,7 @@ function SearchEndpointCallToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3234
3256
|
}
|
|
3235
3257
|
return {
|
|
3236
3258
|
"method": value["method"],
|
|
3237
|
-
"input_schema": value["inputSchema"],
|
|
3259
|
+
"input_schema": SearchEndpointCallInputSchemaToJSON(value["inputSchema"]),
|
|
3238
3260
|
"example_request": value["exampleRequest"],
|
|
3239
3261
|
"example_response": value["exampleResponse"]
|
|
3240
3262
|
};
|
|
@@ -3357,7 +3379,8 @@ function SearchEndpointPriceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3357
3379
|
// src/generated/models/SearchEndpointHit.ts
|
|
3358
3380
|
var SearchEndpointHitOperatorTypeEnum = {
|
|
3359
3381
|
FirstParty: "first_party",
|
|
3360
|
-
Reseller: "reseller"
|
|
3382
|
+
Reseller: "reseller",
|
|
3383
|
+
Gateway: "gateway"
|
|
3361
3384
|
};
|
|
3362
3385
|
function instanceOfSearchEndpointHit(value) {
|
|
3363
3386
|
return true;
|
|
@@ -5397,6 +5420,10 @@ __reExport(src_exports, facilitator_exports, module.exports);
|
|
|
5397
5420
|
SearchCuratedSourceToJSONTyped,
|
|
5398
5421
|
SearchEndpointCallFromJSON,
|
|
5399
5422
|
SearchEndpointCallFromJSONTyped,
|
|
5423
|
+
SearchEndpointCallInputSchemaFromJSON,
|
|
5424
|
+
SearchEndpointCallInputSchemaFromJSONTyped,
|
|
5425
|
+
SearchEndpointCallInputSchemaToJSON,
|
|
5426
|
+
SearchEndpointCallInputSchemaToJSONTyped,
|
|
5400
5427
|
SearchEndpointCallToJSON,
|
|
5401
5428
|
SearchEndpointCallToJSONTyped,
|
|
5402
5429
|
SearchEndpointHitFromJSON,
|
|
@@ -5584,6 +5611,7 @@ __reExport(src_exports, facilitator_exports, module.exports);
|
|
|
5584
5611
|
instanceOfSearchCuratedService,
|
|
5585
5612
|
instanceOfSearchCuratedSource,
|
|
5586
5613
|
instanceOfSearchEndpointCall,
|
|
5614
|
+
instanceOfSearchEndpointCallInputSchema,
|
|
5587
5615
|
instanceOfSearchEndpointHit,
|
|
5588
5616
|
instanceOfSearchEndpointPrice,
|
|
5589
5617
|
instanceOfSearchErrorResponse,
|