@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.mjs
CHANGED
|
@@ -292,6 +292,10 @@ __export(src_exports, {
|
|
|
292
292
|
SearchCuratedSourceToJSONTyped: () => SearchCuratedSourceToJSONTyped,
|
|
293
293
|
SearchEndpointCallFromJSON: () => SearchEndpointCallFromJSON,
|
|
294
294
|
SearchEndpointCallFromJSONTyped: () => SearchEndpointCallFromJSONTyped,
|
|
295
|
+
SearchEndpointCallInputSchemaFromJSON: () => SearchEndpointCallInputSchemaFromJSON,
|
|
296
|
+
SearchEndpointCallInputSchemaFromJSONTyped: () => SearchEndpointCallInputSchemaFromJSONTyped,
|
|
297
|
+
SearchEndpointCallInputSchemaToJSON: () => SearchEndpointCallInputSchemaToJSON,
|
|
298
|
+
SearchEndpointCallInputSchemaToJSONTyped: () => SearchEndpointCallInputSchemaToJSONTyped,
|
|
295
299
|
SearchEndpointCallToJSON: () => SearchEndpointCallToJSON,
|
|
296
300
|
SearchEndpointCallToJSONTyped: () => SearchEndpointCallToJSONTyped,
|
|
297
301
|
SearchEndpointHitFromJSON: () => SearchEndpointHitFromJSON,
|
|
@@ -479,6 +483,7 @@ __export(src_exports, {
|
|
|
479
483
|
instanceOfSearchCuratedService: () => instanceOfSearchCuratedService,
|
|
480
484
|
instanceOfSearchCuratedSource: () => instanceOfSearchCuratedSource,
|
|
481
485
|
instanceOfSearchEndpointCall: () => instanceOfSearchEndpointCall,
|
|
486
|
+
instanceOfSearchEndpointCallInputSchema: () => instanceOfSearchEndpointCallInputSchema,
|
|
482
487
|
instanceOfSearchEndpointHit: () => instanceOfSearchEndpointHit,
|
|
483
488
|
instanceOfSearchEndpointPrice: () => instanceOfSearchEndpointPrice,
|
|
484
489
|
instanceOfSearchErrorResponse: () => instanceOfSearchErrorResponse,
|
|
@@ -3204,6 +3209,23 @@ function SearchCuratedSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3204
3209
|
};
|
|
3205
3210
|
}
|
|
3206
3211
|
|
|
3212
|
+
// src/generated/models/SearchEndpointCallInputSchema.ts
|
|
3213
|
+
function instanceOfSearchEndpointCallInputSchema(value) {
|
|
3214
|
+
return true;
|
|
3215
|
+
}
|
|
3216
|
+
function SearchEndpointCallInputSchemaFromJSON(json) {
|
|
3217
|
+
return SearchEndpointCallInputSchemaFromJSONTyped(json, false);
|
|
3218
|
+
}
|
|
3219
|
+
function SearchEndpointCallInputSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
3220
|
+
return json;
|
|
3221
|
+
}
|
|
3222
|
+
function SearchEndpointCallInputSchemaToJSON(json) {
|
|
3223
|
+
return SearchEndpointCallInputSchemaToJSONTyped(json, false);
|
|
3224
|
+
}
|
|
3225
|
+
function SearchEndpointCallInputSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3226
|
+
return value;
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3207
3229
|
// src/generated/models/SearchEndpointCall.ts
|
|
3208
3230
|
function instanceOfSearchEndpointCall(value) {
|
|
3209
3231
|
return true;
|
|
@@ -3217,7 +3239,7 @@ function SearchEndpointCallFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3217
3239
|
}
|
|
3218
3240
|
return {
|
|
3219
3241
|
"method": json["method"] == null ? void 0 : json["method"],
|
|
3220
|
-
"inputSchema": json["input_schema"] == null ? void 0 : json["input_schema"],
|
|
3242
|
+
"inputSchema": json["input_schema"] == null ? void 0 : SearchEndpointCallInputSchemaFromJSON(json["input_schema"]),
|
|
3221
3243
|
"exampleRequest": json["example_request"] == null ? void 0 : json["example_request"],
|
|
3222
3244
|
"exampleResponse": json["example_response"] == null ? void 0 : json["example_response"]
|
|
3223
3245
|
};
|
|
@@ -3231,7 +3253,7 @@ function SearchEndpointCallToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3231
3253
|
}
|
|
3232
3254
|
return {
|
|
3233
3255
|
"method": value["method"],
|
|
3234
|
-
"input_schema": value["inputSchema"],
|
|
3256
|
+
"input_schema": SearchEndpointCallInputSchemaToJSON(value["inputSchema"]),
|
|
3235
3257
|
"example_request": value["exampleRequest"],
|
|
3236
3258
|
"example_response": value["exampleResponse"]
|
|
3237
3259
|
};
|
|
@@ -3354,7 +3376,8 @@ function SearchEndpointPriceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3354
3376
|
// src/generated/models/SearchEndpointHit.ts
|
|
3355
3377
|
var SearchEndpointHitOperatorTypeEnum = {
|
|
3356
3378
|
FirstParty: "first_party",
|
|
3357
|
-
Reseller: "reseller"
|
|
3379
|
+
Reseller: "reseller",
|
|
3380
|
+
Gateway: "gateway"
|
|
3358
3381
|
};
|
|
3359
3382
|
function instanceOfSearchEndpointHit(value) {
|
|
3360
3383
|
return true;
|
|
@@ -5395,6 +5418,10 @@ export {
|
|
|
5395
5418
|
SearchCuratedSourceToJSONTyped,
|
|
5396
5419
|
SearchEndpointCallFromJSON,
|
|
5397
5420
|
SearchEndpointCallFromJSONTyped,
|
|
5421
|
+
SearchEndpointCallInputSchemaFromJSON,
|
|
5422
|
+
SearchEndpointCallInputSchemaFromJSONTyped,
|
|
5423
|
+
SearchEndpointCallInputSchemaToJSON,
|
|
5424
|
+
SearchEndpointCallInputSchemaToJSONTyped,
|
|
5398
5425
|
SearchEndpointCallToJSON,
|
|
5399
5426
|
SearchEndpointCallToJSONTyped,
|
|
5400
5427
|
SearchEndpointHitFromJSON,
|
|
@@ -5582,6 +5609,7 @@ export {
|
|
|
5582
5609
|
instanceOfSearchCuratedService,
|
|
5583
5610
|
instanceOfSearchCuratedSource,
|
|
5584
5611
|
instanceOfSearchEndpointCall,
|
|
5612
|
+
instanceOfSearchEndpointCallInputSchema,
|
|
5585
5613
|
instanceOfSearchEndpointHit,
|
|
5586
5614
|
instanceOfSearchEndpointPrice,
|
|
5587
5615
|
instanceOfSearchErrorResponse,
|