@weftlabs/sdk 0.30.0 → 0.32.0
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 +64 -23
- 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 +850 -159
- package/dist/index.d.ts +850 -159
- package/dist/index.js +563 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +563 -55
- 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/FetchApi.md +5 -5
- package/docs/FetchRequest.md +4 -0
- package/docs/FetchResponse.md +3 -1
- package/docs/GetPurchaseIdParameter.md +30 -0
- package/docs/Purchase.md +2 -0
- package/docs/PurchasesApi.md +3 -3
- package/docs/SearchApi.md +2 -2
- package/docs/SearchCompactAccess.md +39 -0
- package/docs/SearchCompactAccessPrice.md +38 -0
- package/docs/SearchCompactNextCall.md +39 -0
- package/docs/SearchCompactResult.md +63 -0
- package/docs/SearchCompactResultAttribution.md +37 -0
- package/docs/SearchCompactResultBlockedScopesInner.md +34 -0
- package/docs/SearchCompactResultOperation.md +36 -0
- package/docs/SearchCompactResultProvider.md +34 -0
- package/docs/SearchRequest.md +2 -0
- package/docs/SearchResponse.md +6 -0
- package/docs/SearchWeftFetchCompatibility.md +2 -0
- package/package.json +13 -11
package/dist/index.mjs
CHANGED
|
@@ -145,6 +145,10 @@ __export(src_exports, {
|
|
|
145
145
|
FetchResponseProtocolEnum: () => FetchResponseProtocolEnum,
|
|
146
146
|
FetchResponseToJSON: () => FetchResponseToJSON,
|
|
147
147
|
FetchResponseToJSONTyped: () => FetchResponseToJSONTyped,
|
|
148
|
+
GetPurchaseIdParameterFromJSON: () => GetPurchaseIdParameterFromJSON,
|
|
149
|
+
GetPurchaseIdParameterFromJSONTyped: () => GetPurchaseIdParameterFromJSONTyped,
|
|
150
|
+
GetPurchaseIdParameterToJSON: () => GetPurchaseIdParameterToJSON,
|
|
151
|
+
GetPurchaseIdParameterToJSONTyped: () => GetPurchaseIdParameterToJSONTyped,
|
|
148
152
|
InsufficientScopeResponseErrorEnum: () => InsufficientScopeResponseErrorEnum,
|
|
149
153
|
InsufficientScopeResponseFromJSON: () => InsufficientScopeResponseFromJSON,
|
|
150
154
|
InsufficientScopeResponseFromJSONTyped: () => InsufficientScopeResponseFromJSONTyped,
|
|
@@ -267,6 +271,40 @@ __export(src_exports, {
|
|
|
267
271
|
SearchCapabilityRefFromJSONTyped: () => SearchCapabilityRefFromJSONTyped,
|
|
268
272
|
SearchCapabilityRefToJSON: () => SearchCapabilityRefToJSON,
|
|
269
273
|
SearchCapabilityRefToJSONTyped: () => SearchCapabilityRefToJSONTyped,
|
|
274
|
+
SearchCompactAccessFromJSON: () => SearchCompactAccessFromJSON,
|
|
275
|
+
SearchCompactAccessFromJSONTyped: () => SearchCompactAccessFromJSONTyped,
|
|
276
|
+
SearchCompactAccessPriceFromJSON: () => SearchCompactAccessPriceFromJSON,
|
|
277
|
+
SearchCompactAccessPriceFromJSONTyped: () => SearchCompactAccessPriceFromJSONTyped,
|
|
278
|
+
SearchCompactAccessPriceToJSON: () => SearchCompactAccessPriceToJSON,
|
|
279
|
+
SearchCompactAccessPriceToJSONTyped: () => SearchCompactAccessPriceToJSONTyped,
|
|
280
|
+
SearchCompactAccessToJSON: () => SearchCompactAccessToJSON,
|
|
281
|
+
SearchCompactAccessToJSONTyped: () => SearchCompactAccessToJSONTyped,
|
|
282
|
+
SearchCompactNextCallFromJSON: () => SearchCompactNextCallFromJSON,
|
|
283
|
+
SearchCompactNextCallFromJSONTyped: () => SearchCompactNextCallFromJSONTyped,
|
|
284
|
+
SearchCompactNextCallMethodEnum: () => SearchCompactNextCallMethodEnum,
|
|
285
|
+
SearchCompactNextCallPathEnum: () => SearchCompactNextCallPathEnum,
|
|
286
|
+
SearchCompactNextCallToJSON: () => SearchCompactNextCallToJSON,
|
|
287
|
+
SearchCompactNextCallToJSONTyped: () => SearchCompactNextCallToJSONTyped,
|
|
288
|
+
SearchCompactResultAttributionFromJSON: () => SearchCompactResultAttributionFromJSON,
|
|
289
|
+
SearchCompactResultAttributionFromJSONTyped: () => SearchCompactResultAttributionFromJSONTyped,
|
|
290
|
+
SearchCompactResultAttributionToJSON: () => SearchCompactResultAttributionToJSON,
|
|
291
|
+
SearchCompactResultAttributionToJSONTyped: () => SearchCompactResultAttributionToJSONTyped,
|
|
292
|
+
SearchCompactResultBlockedScopesInnerFromJSON: () => SearchCompactResultBlockedScopesInnerFromJSON,
|
|
293
|
+
SearchCompactResultBlockedScopesInnerFromJSONTyped: () => SearchCompactResultBlockedScopesInnerFromJSONTyped,
|
|
294
|
+
SearchCompactResultBlockedScopesInnerToJSON: () => SearchCompactResultBlockedScopesInnerToJSON,
|
|
295
|
+
SearchCompactResultBlockedScopesInnerToJSONTyped: () => SearchCompactResultBlockedScopesInnerToJSONTyped,
|
|
296
|
+
SearchCompactResultFromJSON: () => SearchCompactResultFromJSON,
|
|
297
|
+
SearchCompactResultFromJSONTyped: () => SearchCompactResultFromJSONTyped,
|
|
298
|
+
SearchCompactResultOperationFromJSON: () => SearchCompactResultOperationFromJSON,
|
|
299
|
+
SearchCompactResultOperationFromJSONTyped: () => SearchCompactResultOperationFromJSONTyped,
|
|
300
|
+
SearchCompactResultOperationToJSON: () => SearchCompactResultOperationToJSON,
|
|
301
|
+
SearchCompactResultOperationToJSONTyped: () => SearchCompactResultOperationToJSONTyped,
|
|
302
|
+
SearchCompactResultProviderFromJSON: () => SearchCompactResultProviderFromJSON,
|
|
303
|
+
SearchCompactResultProviderFromJSONTyped: () => SearchCompactResultProviderFromJSONTyped,
|
|
304
|
+
SearchCompactResultProviderToJSON: () => SearchCompactResultProviderToJSON,
|
|
305
|
+
SearchCompactResultProviderToJSONTyped: () => SearchCompactResultProviderToJSONTyped,
|
|
306
|
+
SearchCompactResultToJSON: () => SearchCompactResultToJSON,
|
|
307
|
+
SearchCompactResultToJSONTyped: () => SearchCompactResultToJSONTyped,
|
|
270
308
|
SearchCuratedCallabilityFromJSON: () => SearchCuratedCallabilityFromJSON,
|
|
271
309
|
SearchCuratedCallabilityFromJSONTyped: () => SearchCuratedCallabilityFromJSONTyped,
|
|
272
310
|
SearchCuratedCallabilityStateEnum: () => SearchCuratedCallabilityStateEnum,
|
|
@@ -359,6 +397,7 @@ __export(src_exports, {
|
|
|
359
397
|
SearchRequestFromJSONTyped: () => SearchRequestFromJSONTyped,
|
|
360
398
|
SearchRequestToJSON: () => SearchRequestToJSON,
|
|
361
399
|
SearchRequestToJSONTyped: () => SearchRequestToJSONTyped,
|
|
400
|
+
SearchRequestViewEnum: () => SearchRequestViewEnum,
|
|
362
401
|
SearchResourceTypeFilterEqEnum: () => SearchResourceTypeFilterEqEnum,
|
|
363
402
|
SearchResourceTypeFilterFromJSON: () => SearchResourceTypeFilterFromJSON,
|
|
364
403
|
SearchResourceTypeFilterFromJSONTyped: () => SearchResourceTypeFilterFromJSONTyped,
|
|
@@ -374,6 +413,7 @@ __export(src_exports, {
|
|
|
374
413
|
SearchResponseServedFromEnum: () => SearchResponseServedFromEnum,
|
|
375
414
|
SearchResponseToJSON: () => SearchResponseToJSON,
|
|
376
415
|
SearchResponseToJSONTyped: () => SearchResponseToJSONTyped,
|
|
416
|
+
SearchResponseViewEnum: () => SearchResponseViewEnum,
|
|
377
417
|
SearchResponseWarningsInnerFromJSON: () => SearchResponseWarningsInnerFromJSON,
|
|
378
418
|
SearchResponseWarningsInnerFromJSONTyped: () => SearchResponseWarningsInnerFromJSONTyped,
|
|
379
419
|
SearchResponseWarningsInnerToJSON: () => SearchResponseWarningsInnerToJSON,
|
|
@@ -386,6 +426,7 @@ __export(src_exports, {
|
|
|
386
426
|
SearchStringSetFilterFromJSONTyped: () => SearchStringSetFilterFromJSONTyped,
|
|
387
427
|
SearchStringSetFilterToJSON: () => SearchStringSetFilterToJSON,
|
|
388
428
|
SearchStringSetFilterToJSONTyped: () => SearchStringSetFilterToJSONTyped,
|
|
429
|
+
SearchWeftFetchCompatibilityCoverageEnum: () => SearchWeftFetchCompatibilityCoverageEnum,
|
|
389
430
|
SearchWeftFetchCompatibilityFromJSON: () => SearchWeftFetchCompatibilityFromJSON,
|
|
390
431
|
SearchWeftFetchCompatibilityFromJSONTyped: () => SearchWeftFetchCompatibilityFromJSONTyped,
|
|
391
432
|
SearchWeftFetchCompatibilityStateEnum: () => SearchWeftFetchCompatibilityStateEnum,
|
|
@@ -477,6 +518,14 @@ __export(src_exports, {
|
|
|
477
518
|
instanceOfResourceStats: () => instanceOfResourceStats,
|
|
478
519
|
instanceOfSearchAccessMethod: () => instanceOfSearchAccessMethod,
|
|
479
520
|
instanceOfSearchCapabilityRef: () => instanceOfSearchCapabilityRef,
|
|
521
|
+
instanceOfSearchCompactAccess: () => instanceOfSearchCompactAccess,
|
|
522
|
+
instanceOfSearchCompactAccessPrice: () => instanceOfSearchCompactAccessPrice,
|
|
523
|
+
instanceOfSearchCompactNextCall: () => instanceOfSearchCompactNextCall,
|
|
524
|
+
instanceOfSearchCompactResult: () => instanceOfSearchCompactResult,
|
|
525
|
+
instanceOfSearchCompactResultAttribution: () => instanceOfSearchCompactResultAttribution,
|
|
526
|
+
instanceOfSearchCompactResultBlockedScopesInner: () => instanceOfSearchCompactResultBlockedScopesInner,
|
|
527
|
+
instanceOfSearchCompactResultOperation: () => instanceOfSearchCompactResultOperation,
|
|
528
|
+
instanceOfSearchCompactResultProvider: () => instanceOfSearchCompactResultProvider,
|
|
480
529
|
instanceOfSearchCuratedCallability: () => instanceOfSearchCuratedCallability,
|
|
481
530
|
instanceOfSearchCuratedExecution: () => instanceOfSearchCuratedExecution,
|
|
482
531
|
instanceOfSearchCuratedOperation: () => instanceOfSearchCuratedOperation,
|
|
@@ -1889,6 +1938,9 @@ var FetchErrorResponseErrorEnum = {
|
|
|
1889
1938
|
UnknownParameter: "UNKNOWN_PARAMETER",
|
|
1890
1939
|
InvalidUrl: "INVALID_URL",
|
|
1891
1940
|
InvalidMaxCostUsd: "INVALID_MAX_COST_USD",
|
|
1941
|
+
InvalidAllowTempoRefill: "INVALID_ALLOW_TEMPO_REFILL",
|
|
1942
|
+
InvalidMaxTotalCostUsd: "INVALID_MAX_TOTAL_COST_USD",
|
|
1943
|
+
IncompatibleFetchControls: "INCOMPATIBLE_FETCH_CONTROLS",
|
|
1892
1944
|
UnsupportedMethod: "UNSUPPORTED_METHOD",
|
|
1893
1945
|
InvalidBody: "INVALID_BODY",
|
|
1894
1946
|
InvalidHeaders: "INVALID_HEADERS",
|
|
@@ -1896,6 +1948,7 @@ var FetchErrorResponseErrorEnum = {
|
|
|
1896
1948
|
IdempotencyConflict: "IDEMPOTENCY_CONFLICT",
|
|
1897
1949
|
AccountClosing: "ACCOUNT_CLOSING",
|
|
1898
1950
|
ExceededMaxCost: "EXCEEDED_MAX_COST",
|
|
1951
|
+
TotalCostUnverifiable: "TOTAL_COST_UNVERIFIABLE",
|
|
1899
1952
|
FundingPending: "FUNDING_PENDING",
|
|
1900
1953
|
InsufficientBalance: "INSUFFICIENT_BALANCE",
|
|
1901
1954
|
PaymentAuthorizationRequired: "PAYMENT_AUTHORIZATION_REQUIRED",
|
|
@@ -2080,6 +2133,8 @@ function FetchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2080
2133
|
return {
|
|
2081
2134
|
"url": json["url"],
|
|
2082
2135
|
"maxCostUsd": json["max_cost_usd"] == null ? void 0 : json["max_cost_usd"],
|
|
2136
|
+
"allowTempoRefill": json["allow_tempo_refill"] == null ? void 0 : json["allow_tempo_refill"],
|
|
2137
|
+
"maxTotalCostUsd": json["max_total_cost_usd"] == null ? void 0 : json["max_total_cost_usd"],
|
|
2083
2138
|
"method": json["method"] == null ? void 0 : json["method"],
|
|
2084
2139
|
"body": json["body"] == null ? void 0 : FetchRequestBodyFromJSON(json["body"]),
|
|
2085
2140
|
"headers": json["headers"] == null ? void 0 : json["headers"],
|
|
@@ -2098,6 +2153,8 @@ function FetchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2098
2153
|
return {
|
|
2099
2154
|
"url": value["url"],
|
|
2100
2155
|
"max_cost_usd": value["maxCostUsd"],
|
|
2156
|
+
"allow_tempo_refill": value["allowTempoRefill"],
|
|
2157
|
+
"max_total_cost_usd": value["maxTotalCostUsd"],
|
|
2101
2158
|
"method": value["method"],
|
|
2102
2159
|
"body": FetchRequestBodyToJSON(value["body"]),
|
|
2103
2160
|
"headers": value["headers"],
|
|
@@ -2149,7 +2206,8 @@ function FetchResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2149
2206
|
"paymentStatus": json["payment_status"],
|
|
2150
2207
|
"txHash": json["tx_hash"],
|
|
2151
2208
|
"protocol": json["protocol"],
|
|
2152
|
-
"artifactId": json["artifact_id"]
|
|
2209
|
+
"artifactId": json["artifact_id"],
|
|
2210
|
+
"purchaseId": json["purchase_id"] == null ? void 0 : json["purchase_id"]
|
|
2153
2211
|
};
|
|
2154
2212
|
}
|
|
2155
2213
|
function FetchResponseToJSON(json) {
|
|
@@ -2168,10 +2226,43 @@ function FetchResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2168
2226
|
"payment_status": value["paymentStatus"],
|
|
2169
2227
|
"tx_hash": value["txHash"],
|
|
2170
2228
|
"protocol": value["protocol"],
|
|
2171
|
-
"artifact_id": value["artifactId"]
|
|
2229
|
+
"artifact_id": value["artifactId"],
|
|
2230
|
+
"purchase_id": value["purchaseId"]
|
|
2172
2231
|
};
|
|
2173
2232
|
}
|
|
2174
2233
|
|
|
2234
|
+
// src/generated/models/GetPurchaseIdParameter.ts
|
|
2235
|
+
function GetPurchaseIdParameterFromJSON(json) {
|
|
2236
|
+
return GetPurchaseIdParameterFromJSONTyped(json, false);
|
|
2237
|
+
}
|
|
2238
|
+
function GetPurchaseIdParameterFromJSONTyped(json, ignoreDiscriminator) {
|
|
2239
|
+
if (json == null) {
|
|
2240
|
+
return json;
|
|
2241
|
+
}
|
|
2242
|
+
if (typeof json === "number") {
|
|
2243
|
+
return json;
|
|
2244
|
+
}
|
|
2245
|
+
if (typeof json === "string") {
|
|
2246
|
+
return json;
|
|
2247
|
+
}
|
|
2248
|
+
return {};
|
|
2249
|
+
}
|
|
2250
|
+
function GetPurchaseIdParameterToJSON(json) {
|
|
2251
|
+
return GetPurchaseIdParameterToJSONTyped(json, false);
|
|
2252
|
+
}
|
|
2253
|
+
function GetPurchaseIdParameterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2254
|
+
if (value == null) {
|
|
2255
|
+
return value;
|
|
2256
|
+
}
|
|
2257
|
+
if (typeof value === "number") {
|
|
2258
|
+
return value;
|
|
2259
|
+
}
|
|
2260
|
+
if (typeof value === "string") {
|
|
2261
|
+
return value;
|
|
2262
|
+
}
|
|
2263
|
+
return {};
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2175
2266
|
// src/generated/models/PrincipalWallet.ts
|
|
2176
2267
|
function instanceOfPrincipalWallet(value) {
|
|
2177
2268
|
if (!("address" in value) || value["address"] === void 0) return false;
|
|
@@ -2684,6 +2775,7 @@ function PurchaseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2684
2775
|
}
|
|
2685
2776
|
return {
|
|
2686
2777
|
"id": json["id"],
|
|
2778
|
+
"purchaseId": json["purchase_id"] == null ? void 0 : json["purchase_id"],
|
|
2687
2779
|
"status": json["status"],
|
|
2688
2780
|
"amountUsd": json["amount_usd"],
|
|
2689
2781
|
"recipientAddress": json["recipient_address"],
|
|
@@ -2710,6 +2802,7 @@ function PurchaseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2710
2802
|
}
|
|
2711
2803
|
return {
|
|
2712
2804
|
"id": value["id"],
|
|
2805
|
+
"purchase_id": value["purchaseId"],
|
|
2713
2806
|
"status": value["status"],
|
|
2714
2807
|
"amount_usd": value["amountUsd"],
|
|
2715
2808
|
"recipient_address": value["recipientAddress"],
|
|
@@ -2918,6 +3011,11 @@ var SearchWeftFetchCompatibilityStateEnum = {
|
|
|
2918
3011
|
Unsupported: "unsupported",
|
|
2919
3012
|
Unknown: "unknown"
|
|
2920
3013
|
};
|
|
3014
|
+
var SearchWeftFetchCompatibilityCoverageEnum = {
|
|
3015
|
+
TerminalResponse: "terminal_response",
|
|
3016
|
+
SubmissionOnly: "submission_only",
|
|
3017
|
+
None: "none"
|
|
3018
|
+
};
|
|
2921
3019
|
function instanceOfSearchWeftFetchCompatibility(value) {
|
|
2922
3020
|
if (!("state" in value) || value["state"] === void 0) return false;
|
|
2923
3021
|
if (!("reason" in value) || value["reason"] === void 0) return false;
|
|
@@ -2934,7 +3032,8 @@ function SearchWeftFetchCompatibilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2934
3032
|
return {
|
|
2935
3033
|
"state": json["state"],
|
|
2936
3034
|
"reason": json["reason"],
|
|
2937
|
-
"contractVersion": json["contract_version"]
|
|
3035
|
+
"contractVersion": json["contract_version"],
|
|
3036
|
+
"coverage": json["coverage"] == null ? void 0 : json["coverage"]
|
|
2938
3037
|
};
|
|
2939
3038
|
}
|
|
2940
3039
|
function SearchWeftFetchCompatibilityToJSON(json) {
|
|
@@ -2947,7 +3046,8 @@ function SearchWeftFetchCompatibilityToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
2947
3046
|
return {
|
|
2948
3047
|
"state": value["state"],
|
|
2949
3048
|
"reason": value["reason"],
|
|
2950
|
-
"contract_version": value["contractVersion"]
|
|
3049
|
+
"contract_version": value["contractVersion"],
|
|
3050
|
+
"coverage": value["coverage"]
|
|
2951
3051
|
};
|
|
2952
3052
|
}
|
|
2953
3053
|
|
|
@@ -3041,6 +3141,331 @@ function SearchCapabilityRefToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3041
3141
|
};
|
|
3042
3142
|
}
|
|
3043
3143
|
|
|
3144
|
+
// src/generated/models/SearchCompactAccessPrice.ts
|
|
3145
|
+
function instanceOfSearchCompactAccessPrice(value) {
|
|
3146
|
+
return true;
|
|
3147
|
+
}
|
|
3148
|
+
function SearchCompactAccessPriceFromJSON(json) {
|
|
3149
|
+
return SearchCompactAccessPriceFromJSONTyped(json, false);
|
|
3150
|
+
}
|
|
3151
|
+
function SearchCompactAccessPriceFromJSONTyped(json, ignoreDiscriminator) {
|
|
3152
|
+
if (json == null) {
|
|
3153
|
+
return json;
|
|
3154
|
+
}
|
|
3155
|
+
return {
|
|
3156
|
+
"kind": json["kind"] == null ? void 0 : json["kind"],
|
|
3157
|
+
"indexedUsd": json["indexed_usd"] == null ? void 0 : json["indexed_usd"],
|
|
3158
|
+
"unit": json["unit"] == null ? void 0 : json["unit"],
|
|
3159
|
+
"hint": json["hint"] == null ? void 0 : json["hint"]
|
|
3160
|
+
};
|
|
3161
|
+
}
|
|
3162
|
+
function SearchCompactAccessPriceToJSON(json) {
|
|
3163
|
+
return SearchCompactAccessPriceToJSONTyped(json, false);
|
|
3164
|
+
}
|
|
3165
|
+
function SearchCompactAccessPriceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3166
|
+
if (value == null) {
|
|
3167
|
+
return value;
|
|
3168
|
+
}
|
|
3169
|
+
return {
|
|
3170
|
+
"kind": value["kind"],
|
|
3171
|
+
"indexed_usd": value["indexedUsd"],
|
|
3172
|
+
"unit": value["unit"],
|
|
3173
|
+
"hint": value["hint"]
|
|
3174
|
+
};
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
// src/generated/models/SearchCompactAccess.ts
|
|
3178
|
+
function instanceOfSearchCompactAccess(value) {
|
|
3179
|
+
return true;
|
|
3180
|
+
}
|
|
3181
|
+
function SearchCompactAccessFromJSON(json) {
|
|
3182
|
+
return SearchCompactAccessFromJSONTyped(json, false);
|
|
3183
|
+
}
|
|
3184
|
+
function SearchCompactAccessFromJSONTyped(json, ignoreDiscriminator) {
|
|
3185
|
+
if (json == null) {
|
|
3186
|
+
return json;
|
|
3187
|
+
}
|
|
3188
|
+
return {
|
|
3189
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
3190
|
+
"protocol": json["protocol"] == null ? void 0 : json["protocol"],
|
|
3191
|
+
"weftFetch": json["weft_fetch"] == null ? void 0 : json["weft_fetch"],
|
|
3192
|
+
"price": json["price"] == null ? void 0 : SearchCompactAccessPriceFromJSON(json["price"])
|
|
3193
|
+
};
|
|
3194
|
+
}
|
|
3195
|
+
function SearchCompactAccessToJSON(json) {
|
|
3196
|
+
return SearchCompactAccessToJSONTyped(json, false);
|
|
3197
|
+
}
|
|
3198
|
+
function SearchCompactAccessToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3199
|
+
if (value == null) {
|
|
3200
|
+
return value;
|
|
3201
|
+
}
|
|
3202
|
+
return {
|
|
3203
|
+
"id": value["id"],
|
|
3204
|
+
"protocol": value["protocol"],
|
|
3205
|
+
"weft_fetch": value["weftFetch"],
|
|
3206
|
+
"price": SearchCompactAccessPriceToJSON(value["price"])
|
|
3207
|
+
};
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
// src/generated/models/SearchCompactNextCall.ts
|
|
3211
|
+
var SearchCompactNextCallMethodEnum = {
|
|
3212
|
+
Post: "POST"
|
|
3213
|
+
};
|
|
3214
|
+
var SearchCompactNextCallPathEnum = {
|
|
3215
|
+
ApiV1Fetch: "/api/v1/fetch"
|
|
3216
|
+
};
|
|
3217
|
+
function instanceOfSearchCompactNextCall(value) {
|
|
3218
|
+
if (!("method" in value) || value["method"] === void 0) return false;
|
|
3219
|
+
if (!("path" in value) || value["path"] === void 0) return false;
|
|
3220
|
+
if (!("body" in value) || value["body"] === void 0) return false;
|
|
3221
|
+
if (!("fill" in value) || value["fill"] === void 0) return false;
|
|
3222
|
+
return true;
|
|
3223
|
+
}
|
|
3224
|
+
function SearchCompactNextCallFromJSON(json) {
|
|
3225
|
+
return SearchCompactNextCallFromJSONTyped(json, false);
|
|
3226
|
+
}
|
|
3227
|
+
function SearchCompactNextCallFromJSONTyped(json, ignoreDiscriminator) {
|
|
3228
|
+
if (json == null) {
|
|
3229
|
+
return json;
|
|
3230
|
+
}
|
|
3231
|
+
return {
|
|
3232
|
+
"method": json["method"],
|
|
3233
|
+
"path": json["path"],
|
|
3234
|
+
"body": json["body"],
|
|
3235
|
+
"fill": json["fill"]
|
|
3236
|
+
};
|
|
3237
|
+
}
|
|
3238
|
+
function SearchCompactNextCallToJSON(json) {
|
|
3239
|
+
return SearchCompactNextCallToJSONTyped(json, false);
|
|
3240
|
+
}
|
|
3241
|
+
function SearchCompactNextCallToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3242
|
+
if (value == null) {
|
|
3243
|
+
return value;
|
|
3244
|
+
}
|
|
3245
|
+
return {
|
|
3246
|
+
"method": value["method"],
|
|
3247
|
+
"path": value["path"],
|
|
3248
|
+
"body": value["body"],
|
|
3249
|
+
"fill": value["fill"]
|
|
3250
|
+
};
|
|
3251
|
+
}
|
|
3252
|
+
|
|
3253
|
+
// src/generated/models/SearchCompactResultBlockedScopesInner.ts
|
|
3254
|
+
function instanceOfSearchCompactResultBlockedScopesInner(value) {
|
|
3255
|
+
return true;
|
|
3256
|
+
}
|
|
3257
|
+
function SearchCompactResultBlockedScopesInnerFromJSON(json) {
|
|
3258
|
+
return SearchCompactResultBlockedScopesInnerFromJSONTyped(json, false);
|
|
3259
|
+
}
|
|
3260
|
+
function SearchCompactResultBlockedScopesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
3261
|
+
if (json == null) {
|
|
3262
|
+
return json;
|
|
3263
|
+
}
|
|
3264
|
+
return {
|
|
3265
|
+
"scope": json["scope"] == null ? void 0 : json["scope"],
|
|
3266
|
+
"state": json["state"] == null ? void 0 : json["state"]
|
|
3267
|
+
};
|
|
3268
|
+
}
|
|
3269
|
+
function SearchCompactResultBlockedScopesInnerToJSON(json) {
|
|
3270
|
+
return SearchCompactResultBlockedScopesInnerToJSONTyped(json, false);
|
|
3271
|
+
}
|
|
3272
|
+
function SearchCompactResultBlockedScopesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3273
|
+
if (value == null) {
|
|
3274
|
+
return value;
|
|
3275
|
+
}
|
|
3276
|
+
return {
|
|
3277
|
+
"scope": value["scope"],
|
|
3278
|
+
"state": value["state"]
|
|
3279
|
+
};
|
|
3280
|
+
}
|
|
3281
|
+
|
|
3282
|
+
// src/generated/models/SearchCompactResultOperation.ts
|
|
3283
|
+
function instanceOfSearchCompactResultOperation(value) {
|
|
3284
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
3285
|
+
return true;
|
|
3286
|
+
}
|
|
3287
|
+
function SearchCompactResultOperationFromJSON(json) {
|
|
3288
|
+
return SearchCompactResultOperationFromJSONTyped(json, false);
|
|
3289
|
+
}
|
|
3290
|
+
function SearchCompactResultOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
3291
|
+
if (json == null) {
|
|
3292
|
+
return json;
|
|
3293
|
+
}
|
|
3294
|
+
return {
|
|
3295
|
+
"id": json["id"],
|
|
3296
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
3297
|
+
"description": json["description"] == null ? void 0 : json["description"]
|
|
3298
|
+
};
|
|
3299
|
+
}
|
|
3300
|
+
function SearchCompactResultOperationToJSON(json) {
|
|
3301
|
+
return SearchCompactResultOperationToJSONTyped(json, false);
|
|
3302
|
+
}
|
|
3303
|
+
function SearchCompactResultOperationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3304
|
+
if (value == null) {
|
|
3305
|
+
return value;
|
|
3306
|
+
}
|
|
3307
|
+
return {
|
|
3308
|
+
"id": value["id"],
|
|
3309
|
+
"name": value["name"],
|
|
3310
|
+
"description": value["description"]
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
// src/generated/models/SearchHelperDocs.ts
|
|
3315
|
+
function instanceOfSearchHelperDocs(value) {
|
|
3316
|
+
return true;
|
|
3317
|
+
}
|
|
3318
|
+
function SearchHelperDocsFromJSON(json) {
|
|
3319
|
+
return SearchHelperDocsFromJSONTyped(json, false);
|
|
3320
|
+
}
|
|
3321
|
+
function SearchHelperDocsFromJSONTyped(json, ignoreDiscriminator) {
|
|
3322
|
+
if (json == null) {
|
|
3323
|
+
return json;
|
|
3324
|
+
}
|
|
3325
|
+
return {
|
|
3326
|
+
"website": json["website"] == null ? void 0 : json["website"],
|
|
3327
|
+
"homepage": json["homepage"] == null ? void 0 : json["homepage"],
|
|
3328
|
+
"api": json["api"] == null ? void 0 : json["api"],
|
|
3329
|
+
"llmsTxt": json["llms_txt"] == null ? void 0 : json["llms_txt"]
|
|
3330
|
+
};
|
|
3331
|
+
}
|
|
3332
|
+
function SearchHelperDocsToJSON(json) {
|
|
3333
|
+
return SearchHelperDocsToJSONTyped(json, false);
|
|
3334
|
+
}
|
|
3335
|
+
function SearchHelperDocsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3336
|
+
if (value == null) {
|
|
3337
|
+
return value;
|
|
3338
|
+
}
|
|
3339
|
+
return {
|
|
3340
|
+
"website": value["website"],
|
|
3341
|
+
"homepage": value["homepage"],
|
|
3342
|
+
"api": value["api"],
|
|
3343
|
+
"llms_txt": value["llmsTxt"]
|
|
3344
|
+
};
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
// src/generated/models/SearchCompactResultAttribution.ts
|
|
3348
|
+
function instanceOfSearchCompactResultAttribution(value) {
|
|
3349
|
+
return true;
|
|
3350
|
+
}
|
|
3351
|
+
function SearchCompactResultAttributionFromJSON(json) {
|
|
3352
|
+
return SearchCompactResultAttributionFromJSONTyped(json, false);
|
|
3353
|
+
}
|
|
3354
|
+
function SearchCompactResultAttributionFromJSONTyped(json, ignoreDiscriminator) {
|
|
3355
|
+
if (json == null) {
|
|
3356
|
+
return json;
|
|
3357
|
+
}
|
|
3358
|
+
return {
|
|
3359
|
+
"searchId": json["search_id"] == null ? void 0 : json["search_id"],
|
|
3360
|
+
"operationId": json["operation_id"] == null ? void 0 : json["operation_id"],
|
|
3361
|
+
"accessMethodId": json["access_method_id"] == null ? void 0 : json["access_method_id"]
|
|
3362
|
+
};
|
|
3363
|
+
}
|
|
3364
|
+
function SearchCompactResultAttributionToJSON(json) {
|
|
3365
|
+
return SearchCompactResultAttributionToJSONTyped(json, false);
|
|
3366
|
+
}
|
|
3367
|
+
function SearchCompactResultAttributionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3368
|
+
if (value == null) {
|
|
3369
|
+
return value;
|
|
3370
|
+
}
|
|
3371
|
+
return {
|
|
3372
|
+
"search_id": value["searchId"],
|
|
3373
|
+
"operation_id": value["operationId"],
|
|
3374
|
+
"access_method_id": value["accessMethodId"]
|
|
3375
|
+
};
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
// src/generated/models/SearchCompactResultProvider.ts
|
|
3379
|
+
function instanceOfSearchCompactResultProvider(value) {
|
|
3380
|
+
return true;
|
|
3381
|
+
}
|
|
3382
|
+
function SearchCompactResultProviderFromJSON(json) {
|
|
3383
|
+
return SearchCompactResultProviderFromJSONTyped(json, false);
|
|
3384
|
+
}
|
|
3385
|
+
function SearchCompactResultProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
3386
|
+
if (json == null) {
|
|
3387
|
+
return json;
|
|
3388
|
+
}
|
|
3389
|
+
return {
|
|
3390
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
3391
|
+
"name": json["name"] == null ? void 0 : json["name"]
|
|
3392
|
+
};
|
|
3393
|
+
}
|
|
3394
|
+
function SearchCompactResultProviderToJSON(json) {
|
|
3395
|
+
return SearchCompactResultProviderToJSONTyped(json, false);
|
|
3396
|
+
}
|
|
3397
|
+
function SearchCompactResultProviderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3398
|
+
if (value == null) {
|
|
3399
|
+
return value;
|
|
3400
|
+
}
|
|
3401
|
+
return {
|
|
3402
|
+
"id": value["id"],
|
|
3403
|
+
"name": value["name"]
|
|
3404
|
+
};
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
// src/generated/models/SearchCompactResult.ts
|
|
3408
|
+
function instanceOfSearchCompactResult(value) {
|
|
3409
|
+
if (!("operation" in value) || value["operation"] === void 0) return false;
|
|
3410
|
+
if (!("access" in value) || value["access"] === void 0) return false;
|
|
3411
|
+
if (!("contractUrl" in value) || value["contractUrl"] === void 0) return false;
|
|
3412
|
+
if (!("contractDetail" in value) || value["contractDetail"] === void 0) return false;
|
|
3413
|
+
if (!("readiness" in value) || value["readiness"] === void 0) return false;
|
|
3414
|
+
return true;
|
|
3415
|
+
}
|
|
3416
|
+
function SearchCompactResultFromJSON(json) {
|
|
3417
|
+
return SearchCompactResultFromJSONTyped(json, false);
|
|
3418
|
+
}
|
|
3419
|
+
function SearchCompactResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
3420
|
+
if (json == null) {
|
|
3421
|
+
return json;
|
|
3422
|
+
}
|
|
3423
|
+
return {
|
|
3424
|
+
"provider": json["provider"] == null ? void 0 : SearchCompactResultProviderFromJSON(json["provider"]),
|
|
3425
|
+
"operation": SearchCompactResultOperationFromJSON(json["operation"]),
|
|
3426
|
+
"inputs": json["inputs"] == null ? void 0 : json["inputs"],
|
|
3427
|
+
"request": json["request"] == null ? void 0 : json["request"],
|
|
3428
|
+
"example": json["example"] == null ? void 0 : json["example"],
|
|
3429
|
+
"access": SearchCompactAccessFromJSON(json["access"]),
|
|
3430
|
+
"attribution": json["attribution"] == null ? void 0 : SearchCompactResultAttributionFromJSON(json["attribution"]),
|
|
3431
|
+
"output": json["output"] == null ? void 0 : json["output"],
|
|
3432
|
+
"docs": json["docs"] == null ? void 0 : SearchHelperDocsFromJSON(json["docs"]),
|
|
3433
|
+
"contractUrl": json["contract_url"],
|
|
3434
|
+
"contractDetail": json["contract_detail"],
|
|
3435
|
+
"completion": json["completion"] == null ? void 0 : json["completion"],
|
|
3436
|
+
"blockedScopes": json["blocked_scopes"] == null ? void 0 : json["blocked_scopes"].map(SearchCompactResultBlockedScopesInnerFromJSON),
|
|
3437
|
+
"contractGaps": json["contract_gaps"] == null ? void 0 : json["contract_gaps"],
|
|
3438
|
+
"readiness": mapValues(json["readiness"], SearchCompactResultBlockedScopesInnerFromJSON),
|
|
3439
|
+
"nextCall": json["next_call"] == null ? void 0 : SearchCompactNextCallFromJSON(json["next_call"])
|
|
3440
|
+
};
|
|
3441
|
+
}
|
|
3442
|
+
function SearchCompactResultToJSON(json) {
|
|
3443
|
+
return SearchCompactResultToJSONTyped(json, false);
|
|
3444
|
+
}
|
|
3445
|
+
function SearchCompactResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3446
|
+
if (value == null) {
|
|
3447
|
+
return value;
|
|
3448
|
+
}
|
|
3449
|
+
return {
|
|
3450
|
+
"provider": SearchCompactResultProviderToJSON(value["provider"]),
|
|
3451
|
+
"operation": SearchCompactResultOperationToJSON(value["operation"]),
|
|
3452
|
+
"inputs": value["inputs"],
|
|
3453
|
+
"request": value["request"],
|
|
3454
|
+
"example": value["example"],
|
|
3455
|
+
"access": SearchCompactAccessToJSON(value["access"]),
|
|
3456
|
+
"attribution": SearchCompactResultAttributionToJSON(value["attribution"]),
|
|
3457
|
+
"output": value["output"],
|
|
3458
|
+
"docs": SearchHelperDocsToJSON(value["docs"]),
|
|
3459
|
+
"contract_url": value["contractUrl"],
|
|
3460
|
+
"contract_detail": value["contractDetail"],
|
|
3461
|
+
"completion": value["completion"],
|
|
3462
|
+
"blocked_scopes": value["blockedScopes"] == null ? void 0 : value["blockedScopes"].map(SearchCompactResultBlockedScopesInnerToJSON),
|
|
3463
|
+
"contract_gaps": value["contractGaps"],
|
|
3464
|
+
"readiness": mapValues(value["readiness"], SearchCompactResultBlockedScopesInnerToJSON),
|
|
3465
|
+
"next_call": SearchCompactNextCallToJSON(value["nextCall"])
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3044
3469
|
// src/generated/models/SearchCuratedCallability.ts
|
|
3045
3470
|
var SearchCuratedCallabilityStateEnum = {
|
|
3046
3471
|
Complete: "complete",
|
|
@@ -3301,39 +3726,6 @@ function SearchPaymentOfferToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3301
3726
|
};
|
|
3302
3727
|
}
|
|
3303
3728
|
|
|
3304
|
-
// src/generated/models/SearchHelperDocs.ts
|
|
3305
|
-
function instanceOfSearchHelperDocs(value) {
|
|
3306
|
-
return true;
|
|
3307
|
-
}
|
|
3308
|
-
function SearchHelperDocsFromJSON(json) {
|
|
3309
|
-
return SearchHelperDocsFromJSONTyped(json, false);
|
|
3310
|
-
}
|
|
3311
|
-
function SearchHelperDocsFromJSONTyped(json, ignoreDiscriminator) {
|
|
3312
|
-
if (json == null) {
|
|
3313
|
-
return json;
|
|
3314
|
-
}
|
|
3315
|
-
return {
|
|
3316
|
-
"website": json["website"] == null ? void 0 : json["website"],
|
|
3317
|
-
"homepage": json["homepage"] == null ? void 0 : json["homepage"],
|
|
3318
|
-
"api": json["api"] == null ? void 0 : json["api"],
|
|
3319
|
-
"llmsTxt": json["llms_txt"] == null ? void 0 : json["llms_txt"]
|
|
3320
|
-
};
|
|
3321
|
-
}
|
|
3322
|
-
function SearchHelperDocsToJSON(json) {
|
|
3323
|
-
return SearchHelperDocsToJSONTyped(json, false);
|
|
3324
|
-
}
|
|
3325
|
-
function SearchHelperDocsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3326
|
-
if (value == null) {
|
|
3327
|
-
return value;
|
|
3328
|
-
}
|
|
3329
|
-
return {
|
|
3330
|
-
"website": value["website"],
|
|
3331
|
-
"homepage": value["homepage"],
|
|
3332
|
-
"api": value["api"],
|
|
3333
|
-
"llms_txt": value["llmsTxt"]
|
|
3334
|
-
};
|
|
3335
|
-
}
|
|
3336
|
-
|
|
3337
3729
|
// src/generated/models/SearchEndpointPrice.ts
|
|
3338
3730
|
var SearchEndpointPriceSourceEnum = {
|
|
3339
3731
|
Probe: "probe",
|
|
@@ -3456,6 +3848,7 @@ var SearchErrorResponseErrorEnum = {
|
|
|
3456
3848
|
InvalidQuery: "INVALID_QUERY",
|
|
3457
3849
|
InvalidMaxResults: "INVALID_MAX_RESULTS",
|
|
3458
3850
|
InvalidFilters: "INVALID_FILTERS",
|
|
3851
|
+
InvalidView: "INVALID_VIEW",
|
|
3459
3852
|
UnknownParameter: "UNKNOWN_PARAMETER",
|
|
3460
3853
|
SearchUpstreamError: "SEARCH_UPSTREAM_ERROR",
|
|
3461
3854
|
SearchBackendMisconfigured: "SEARCH_BACKEND_MISCONFIGURED"
|
|
@@ -3837,6 +4230,10 @@ function SearchProviderRefToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3837
4230
|
}
|
|
3838
4231
|
|
|
3839
4232
|
// src/generated/models/SearchRequest.ts
|
|
4233
|
+
var SearchRequestViewEnum = {
|
|
4234
|
+
Full: "full",
|
|
4235
|
+
Compact: "compact"
|
|
4236
|
+
};
|
|
3840
4237
|
function instanceOfSearchRequest(value) {
|
|
3841
4238
|
if (!("query" in value) || value["query"] === void 0) return false;
|
|
3842
4239
|
return true;
|
|
@@ -3851,7 +4248,8 @@ function SearchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3851
4248
|
return {
|
|
3852
4249
|
"query": json["query"],
|
|
3853
4250
|
"maxResults": json["max_results"] == null ? void 0 : json["max_results"],
|
|
3854
|
-
"filters": json["filters"] == null ? void 0 : SearchFilterSpecFromJSON(json["filters"])
|
|
4251
|
+
"filters": json["filters"] == null ? void 0 : SearchFilterSpecFromJSON(json["filters"]),
|
|
4252
|
+
"view": json["view"] == null ? void 0 : json["view"]
|
|
3855
4253
|
};
|
|
3856
4254
|
}
|
|
3857
4255
|
function SearchRequestToJSON(json) {
|
|
@@ -3864,7 +4262,8 @@ function SearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3864
4262
|
return {
|
|
3865
4263
|
"query": value["query"],
|
|
3866
4264
|
"max_results": value["maxResults"],
|
|
3867
|
-
"filters": SearchFilterSpecToJSON(value["filters"])
|
|
4265
|
+
"filters": SearchFilterSpecToJSON(value["filters"]),
|
|
4266
|
+
"view": value["view"]
|
|
3868
4267
|
};
|
|
3869
4268
|
}
|
|
3870
4269
|
|
|
@@ -3964,6 +4363,10 @@ var SearchResponseReasonEnum = {
|
|
|
3964
4363
|
UnsupportedFilterValue: "unsupported_filter_value",
|
|
3965
4364
|
IndexUnavailable: "index_unavailable"
|
|
3966
4365
|
};
|
|
4366
|
+
var SearchResponseViewEnum = {
|
|
4367
|
+
Full: "full",
|
|
4368
|
+
Compact: "compact"
|
|
4369
|
+
};
|
|
3967
4370
|
function instanceOfSearchResponse(value) {
|
|
3968
4371
|
if (!("queryTraceId" in value) || value["queryTraceId"] === void 0) return false;
|
|
3969
4372
|
if (!("query" in value) || value["query"] === void 0) return false;
|
|
@@ -3998,7 +4401,10 @@ function SearchResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3998
4401
|
"matchQuality": json["match_quality"] == null ? void 0 : json["match_quality"],
|
|
3999
4402
|
"reason": json["reason"] == null ? void 0 : json["reason"],
|
|
4000
4403
|
"suggestion": json["suggestion"] == null ? void 0 : json["suggestion"],
|
|
4001
|
-
"results": json["results"].map(SearchResultFromJSON)
|
|
4404
|
+
"results": json["results"].map(SearchResultFromJSON),
|
|
4405
|
+
"view": json["view"] == null ? void 0 : json["view"],
|
|
4406
|
+
"compactResults": json["compact_results"] == null ? void 0 : json["compact_results"].map(SearchCompactResultFromJSON),
|
|
4407
|
+
"omittedResults": json["omitted_results"] == null ? void 0 : json["omitted_results"]
|
|
4002
4408
|
};
|
|
4003
4409
|
}
|
|
4004
4410
|
function SearchResponseToJSON(json) {
|
|
@@ -4026,7 +4432,10 @@ function SearchResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4026
4432
|
"match_quality": value["matchQuality"],
|
|
4027
4433
|
"reason": value["reason"],
|
|
4028
4434
|
"suggestion": value["suggestion"],
|
|
4029
|
-
"results": value["results"].map(SearchResultToJSON)
|
|
4435
|
+
"results": value["results"].map(SearchResultToJSON),
|
|
4436
|
+
"view": value["view"],
|
|
4437
|
+
"compact_results": value["compactResults"] == null ? void 0 : value["compactResults"].map(SearchCompactResultToJSON),
|
|
4438
|
+
"omitted_results": value["omittedResults"]
|
|
4030
4439
|
};
|
|
4031
4440
|
}
|
|
4032
4441
|
|
|
@@ -4602,7 +5011,7 @@ var DocumentationApi = class extends BaseAPI {
|
|
|
4602
5011
|
// src/generated/apis/FetchApi.ts
|
|
4603
5012
|
var FetchApi = class extends BaseAPI {
|
|
4604
5013
|
/**
|
|
4605
|
-
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a
|
|
5014
|
+
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a merchant-principal `max_cost_usd` ceiling, and optional `method` / `body` / `headers`. Weft: 1. Issues the request. 2. On `402 Payment Required`, selects a supported x402 or MPP challenge. 3. Compares the asking price to `max_cost_usd` and the buyer\'s policy (`max_tx_usd`, daily/weekly limits). 4. If refill is allowed and an eligible mainnet MPP challenge finds its Tempo token short, creates or adopts a buyer-owned Base-to-Tempo refill and returns `409 FUNDING_PENDING` with `details.reason=funding_active`. If an overlapping payment invalidates the balance observation before a bridge is created, the same retryable response carries `details.reason=balance_changed`. The caller retries the identical fetch after `details.retry_after_seconds`; that later request obtains a fresh challenge and reruns rail selection and all payment controls. 5. Authorizes payment from the buyer\'s wallet on the selected rail. 6. Replays the request with the protocol-specific payment credential. 7. Streams the upstream artifact back, base64-encoded under `body_base64`, with `paid_usd`, `held_usd`, `payment_status`, `tx_hash`, `protocol`, and `purchase_id`. `paid_usd` is \"0.00\" until the charge is CONFIRMED settled — a signed-but- unsettled hold (the common case for x402, which settles asynchronously) reports its amount in `held_usd` instead, never in `paid_usd`. `purchase_id` is the id that `GET /api/v1/purchases/{id}` accepts, so a caller can read how a pending charge ends. **Opt-in safety controls:** `allow_tempo_refill: false` prevents this request from creating, adopting, or enqueueing a Base-to-Tempo bridge. A Tempo shortfall returns `402 INSUFFICIENT_BALANCE`; unrelated bridges and their jobs remain unchanged. `access_method_id` is advisory and does not enforce a payment rail. `max_total_cost_usd` is an all-in ceiling covering merchant principal, network gas, provider fees, and prerequisite buyer-paid operations. It disables refill; explicitly combining it with `allow_tempo_refill: true` returns `422 INCOMPATIBLE_FETCH_CONTROLS`. Current wallet integrations provide no supported binding all-in fee guarantee. Therefore all-in requests return `402 TOTAL_COST_UNVERIFIABLE` before payment preparation, approval, reservation, or refill. This also refuses recovery of older payments and SIWX wallet signing; it admits no positive paid route. Increasing the ceiling does not resolve missing fee authority. Omitted controls preserve existing behavior. Ordinary non-402 merchant responses retain `MERCHANT_RETURNED_NON_402`. Stored-result replay is historical payment information, not a new bounded authorization. Errors are structured with a stable `error` code, and each error response carries the buyer\'s `policy`, `balance`, and a `dashboard_url` so a CLI can render an actionable message without a second round-trip. Account-scoped: the bearer must be a buyer-scoped API key, an OAuth access token carrying `fetch`, or a claimed `wbt_*` bearer. **Forwarded headers:** the caller\'s `headers` are passed through to the upstream, except a denylist of hop-by-hop and Weft-internal headers (`host`, `authorization`, `cookie`, `proxy-authorization`, `x-forwarded-*`, `x-real-ip`, `x-payment`, `connection`, `upgrade`). Up to 32 headers, 4 KB of combined value bytes.
|
|
4606
5015
|
* Pay-and-fetch any URL (x402/MPP proxy)
|
|
4607
5016
|
*/
|
|
4608
5017
|
async fetchRaw(requestParameters, initOverrides) {
|
|
@@ -4636,7 +5045,7 @@ var FetchApi = class extends BaseAPI {
|
|
|
4636
5045
|
return new JSONApiResponse(response, (jsonValue) => FetchResponseFromJSON(jsonValue));
|
|
4637
5046
|
}
|
|
4638
5047
|
/**
|
|
4639
|
-
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a
|
|
5048
|
+
* Universal x402/MPP fetch proxy. The caller provides a target `url`, a merchant-principal `max_cost_usd` ceiling, and optional `method` / `body` / `headers`. Weft: 1. Issues the request. 2. On `402 Payment Required`, selects a supported x402 or MPP challenge. 3. Compares the asking price to `max_cost_usd` and the buyer\'s policy (`max_tx_usd`, daily/weekly limits). 4. If refill is allowed and an eligible mainnet MPP challenge finds its Tempo token short, creates or adopts a buyer-owned Base-to-Tempo refill and returns `409 FUNDING_PENDING` with `details.reason=funding_active`. If an overlapping payment invalidates the balance observation before a bridge is created, the same retryable response carries `details.reason=balance_changed`. The caller retries the identical fetch after `details.retry_after_seconds`; that later request obtains a fresh challenge and reruns rail selection and all payment controls. 5. Authorizes payment from the buyer\'s wallet on the selected rail. 6. Replays the request with the protocol-specific payment credential. 7. Streams the upstream artifact back, base64-encoded under `body_base64`, with `paid_usd`, `held_usd`, `payment_status`, `tx_hash`, `protocol`, and `purchase_id`. `paid_usd` is \"0.00\" until the charge is CONFIRMED settled — a signed-but- unsettled hold (the common case for x402, which settles asynchronously) reports its amount in `held_usd` instead, never in `paid_usd`. `purchase_id` is the id that `GET /api/v1/purchases/{id}` accepts, so a caller can read how a pending charge ends. **Opt-in safety controls:** `allow_tempo_refill: false` prevents this request from creating, adopting, or enqueueing a Base-to-Tempo bridge. A Tempo shortfall returns `402 INSUFFICIENT_BALANCE`; unrelated bridges and their jobs remain unchanged. `access_method_id` is advisory and does not enforce a payment rail. `max_total_cost_usd` is an all-in ceiling covering merchant principal, network gas, provider fees, and prerequisite buyer-paid operations. It disables refill; explicitly combining it with `allow_tempo_refill: true` returns `422 INCOMPATIBLE_FETCH_CONTROLS`. Current wallet integrations provide no supported binding all-in fee guarantee. Therefore all-in requests return `402 TOTAL_COST_UNVERIFIABLE` before payment preparation, approval, reservation, or refill. This also refuses recovery of older payments and SIWX wallet signing; it admits no positive paid route. Increasing the ceiling does not resolve missing fee authority. Omitted controls preserve existing behavior. Ordinary non-402 merchant responses retain `MERCHANT_RETURNED_NON_402`. Stored-result replay is historical payment information, not a new bounded authorization. Errors are structured with a stable `error` code, and each error response carries the buyer\'s `policy`, `balance`, and a `dashboard_url` so a CLI can render an actionable message without a second round-trip. Account-scoped: the bearer must be a buyer-scoped API key, an OAuth access token carrying `fetch`, or a claimed `wbt_*` bearer. **Forwarded headers:** the caller\'s `headers` are passed through to the upstream, except a denylist of hop-by-hop and Weft-internal headers (`host`, `authorization`, `cookie`, `proxy-authorization`, `x-forwarded-*`, `x-real-ip`, `x-payment`, `connection`, `upgrade`). Up to 32 headers, 4 KB of combined value bytes.
|
|
4640
5049
|
* Pay-and-fetch any URL (x402/MPP proxy)
|
|
4641
5050
|
*/
|
|
4642
5051
|
async fetch(requestParameters, initOverrides) {
|
|
@@ -4836,7 +5245,7 @@ var ResourcesApi = class extends BaseAPI {
|
|
|
4836
5245
|
// src/generated/apis/SearchApi.ts
|
|
4837
5246
|
var SearchApi = class extends BaseAPI {
|
|
4838
5247
|
/**
|
|
4839
|
-
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt.
|
|
5248
|
+
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt. Compact view: send `view: \"compact\"` to get the agent view of the hosted MCP `weft_search` tool. Each result is a small contract for the next paid call (below 2,000 JSON bytes): typed inputs, the request recipe, one access method with price, attribution, a ready `next_call` to `POST /api/v1/fetch` when the request is determined, and the authenticated `contract_url` for the full contract. Use it when you give search results to a model. The compact rows are in `compact_results`; `results` is empty. The compact view is JSON only and needs the curated search backend.
|
|
4840
5249
|
* Search the Weft index
|
|
4841
5250
|
*/
|
|
4842
5251
|
async searchRaw(requestParameters, initOverrides) {
|
|
@@ -4867,7 +5276,7 @@ var SearchApi = class extends BaseAPI {
|
|
|
4867
5276
|
return new JSONApiResponse(response, (jsonValue) => SearchResponseFromJSON(jsonValue));
|
|
4868
5277
|
}
|
|
4869
5278
|
/**
|
|
4870
|
-
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt.
|
|
5279
|
+
* Semantic search over the Weft index of paid agent resources. The request body is the weft-search-platform `/v1/search` contract: a free-text `query`, optional `max_results`, and optional structured `filters` (price / price_atomic / type / protocol — the canonical FilterSpec v1 vocabulary, vendored verbatim from the platform). Price is a dual representation of one constraint: `price` in USD decimal strings (the reasoning form) XOR `price_atomic` in integer micro-USD (the settlement form) — mutually exclusive, set at most one. Account-scoped: the bearer token must be a buyer-scoped API key, an OAuth token carrying `search`, or a pending or claimed `wbt_*` bootstrap bearer. Pending bootstrap access uses an anonymous bootstrap identity; after claim, the promoted bearer uses its bound User. Rejection, cancellation, expiry, and revocation end bootstrap search. Bootstrap search is limited to 60 requests per credential and 120 per IP each hour before native credential promotion. Response negotiation: `Accept: application/json` (default) returns the structured envelope; `Accept: text/markdown` returns a rendered Markdown digest of the same results — useful for piping into a chat UI or LLM prompt. Compact view: send `view: \"compact\"` to get the agent view of the hosted MCP `weft_search` tool. Each result is a small contract for the next paid call (below 2,000 JSON bytes): typed inputs, the request recipe, one access method with price, attribution, a ready `next_call` to `POST /api/v1/fetch` when the request is determined, and the authenticated `contract_url` for the full contract. Use it when you give search results to a model. The compact rows are in `compact_results`; `results` is empty. The compact view is JSON only and needs the curated search backend.
|
|
4871
5280
|
* Search the Weft index
|
|
4872
5281
|
*/
|
|
4873
5282
|
async search(requestParameters, initOverrides) {
|
|
@@ -4877,6 +5286,26 @@ var SearchApi = class extends BaseAPI {
|
|
|
4877
5286
|
};
|
|
4878
5287
|
|
|
4879
5288
|
// src/error.ts
|
|
5289
|
+
var PRE_SIGN_FETCH_CODES = /* @__PURE__ */ new Set([
|
|
5290
|
+
"EXCEEDED_MAX_COST",
|
|
5291
|
+
"MERCHANT_RETURNED_NON_402",
|
|
5292
|
+
"INSUFFICIENT_BALANCE",
|
|
5293
|
+
"DENYLISTED_RECIPIENT",
|
|
5294
|
+
"WALLET_ENVIRONMENT_MISMATCH",
|
|
5295
|
+
"UNSUPPORTED_ASSET",
|
|
5296
|
+
"INVALID_REQUEST",
|
|
5297
|
+
"UNKNOWN_PARAMETER",
|
|
5298
|
+
"INVALID_URL",
|
|
5299
|
+
"INVALID_MAX_COST_USD",
|
|
5300
|
+
"UNSUPPORTED_METHOD",
|
|
5301
|
+
"INVALID_BODY",
|
|
5302
|
+
"INVALID_HEADERS",
|
|
5303
|
+
"INVALID_IDEMPOTENCY_KEY"
|
|
5304
|
+
]);
|
|
5305
|
+
function fetchCharge(status, code) {
|
|
5306
|
+
const preSign = PRE_SIGN_FETCH_CODES.has(code) || code.startsWith("POLICY_VIOLATION_");
|
|
5307
|
+
return status >= 400 && status < 500 && preSign ? "none" : "possible";
|
|
5308
|
+
}
|
|
4880
5309
|
var WeftError = class extends Error {
|
|
4881
5310
|
constructor(options) {
|
|
4882
5311
|
super(options.message);
|
|
@@ -4886,19 +5315,32 @@ var WeftError = class extends Error {
|
|
|
4886
5315
|
this.requestId = options.requestId;
|
|
4887
5316
|
this.retryable = options.retryable;
|
|
4888
5317
|
this.details = options.details;
|
|
5318
|
+
this.charge = options.charge ?? "possible";
|
|
4889
5319
|
}
|
|
4890
5320
|
};
|
|
4891
|
-
async function normalizeWeftError(error) {
|
|
5321
|
+
async function normalizeWeftError(error, paid = false) {
|
|
4892
5322
|
if (error instanceof FetchError) {
|
|
4893
5323
|
return new WeftError({
|
|
4894
5324
|
status: 0,
|
|
4895
5325
|
code: "NETWORK_ERROR",
|
|
4896
5326
|
message: `Network failure before a Weft API response: ${error.cause?.message ?? error.message}`,
|
|
4897
5327
|
retryable: true,
|
|
4898
|
-
details: error.cause
|
|
5328
|
+
details: error.cause,
|
|
5329
|
+
charge: paid ? "possible" : "none"
|
|
5330
|
+
});
|
|
5331
|
+
}
|
|
5332
|
+
if (!(error instanceof ResponseError)) {
|
|
5333
|
+
if (!paid || error instanceof WeftError) return error;
|
|
5334
|
+
return new WeftError({
|
|
5335
|
+
status: 0,
|
|
5336
|
+
code: "RESPONSE_DECODE_ERROR",
|
|
5337
|
+
message: "Weft API returned a fetch response that could not be decoded",
|
|
5338
|
+
// A replay returns the same body; reconcile instead of retrying.
|
|
5339
|
+
retryable: false,
|
|
5340
|
+
details: error,
|
|
5341
|
+
charge: "possible"
|
|
4899
5342
|
});
|
|
4900
5343
|
}
|
|
4901
|
-
if (!(error instanceof ResponseError)) return error;
|
|
4902
5344
|
let details;
|
|
4903
5345
|
try {
|
|
4904
5346
|
details = await error.response.json();
|
|
@@ -4908,13 +5350,15 @@ async function normalizeWeftError(error) {
|
|
|
4908
5350
|
const body = details;
|
|
4909
5351
|
const nested = typeof body?.error === "object" ? body.error : void 0;
|
|
4910
5352
|
const status = error.response.status;
|
|
5353
|
+
const code = nested?.code ?? body?.code ?? (typeof body?.error === "string" ? body.error : `HTTP_${status}`);
|
|
4911
5354
|
return new WeftError({
|
|
4912
5355
|
status,
|
|
4913
|
-
code
|
|
5356
|
+
code,
|
|
4914
5357
|
message: nested?.message ?? body?.message ?? `Weft API returned HTTP ${status}`,
|
|
4915
5358
|
requestId: nested?.request_id ?? body?.request_id ?? error.response.headers.get("x-request-id") ?? void 0,
|
|
4916
5359
|
retryable: status === 429 || status >= 500,
|
|
4917
|
-
details
|
|
5360
|
+
details,
|
|
5361
|
+
charge: paid ? fetchCharge(status, String(code)) : "none"
|
|
4918
5362
|
});
|
|
4919
5363
|
}
|
|
4920
5364
|
|
|
@@ -4952,11 +5396,11 @@ var WeftClient = class {
|
|
|
4952
5396
|
this.fetches = new FetchApi(configuration);
|
|
4953
5397
|
this.purchaseHistory = new PurchasesApi(configuration);
|
|
4954
5398
|
}
|
|
4955
|
-
async call(operation) {
|
|
5399
|
+
async call(operation, paid = false) {
|
|
4956
5400
|
try {
|
|
4957
5401
|
return await operation();
|
|
4958
5402
|
} catch (error) {
|
|
4959
|
-
throw await normalizeWeftError(error);
|
|
5403
|
+
throw await normalizeWeftError(error, paid);
|
|
4960
5404
|
}
|
|
4961
5405
|
}
|
|
4962
5406
|
me() {
|
|
@@ -4975,12 +5419,27 @@ var WeftClient = class {
|
|
|
4975
5419
|
if (!options.idempotencyKey.trim()) {
|
|
4976
5420
|
throw new Error("idempotencyKey is required");
|
|
4977
5421
|
}
|
|
5422
|
+
if (!/^[!-~]{1,255}$/.test(options.idempotencyKey)) {
|
|
5423
|
+
throw new Error(
|
|
5424
|
+
"idempotencyKey must be 1-255 visible ASCII characters without spaces"
|
|
5425
|
+
);
|
|
5426
|
+
}
|
|
5427
|
+
const fetchRequest = request.body != null && typeof request.body === "object" ? { ...request, body: JSON.stringify(request.body) } : request;
|
|
4978
5428
|
return this.call(
|
|
4979
5429
|
() => this.fetches.fetch({
|
|
4980
|
-
fetchRequest
|
|
5430
|
+
fetchRequest,
|
|
4981
5431
|
idempotencyKey: options.idempotencyKey
|
|
4982
|
-
})
|
|
4983
|
-
|
|
5432
|
+
}),
|
|
5433
|
+
true
|
|
5434
|
+
).then(async (response) => {
|
|
5435
|
+
if (typeof response?.status !== "number") {
|
|
5436
|
+
throw await normalizeWeftError(
|
|
5437
|
+
new Error("unreadable fetch response"),
|
|
5438
|
+
true
|
|
5439
|
+
);
|
|
5440
|
+
}
|
|
5441
|
+
return response;
|
|
5442
|
+
});
|
|
4984
5443
|
}
|
|
4985
5444
|
purchases(options = {}) {
|
|
4986
5445
|
return this.call(() => this.purchaseHistory.listPurchases(options));
|
|
@@ -5271,6 +5730,10 @@ export {
|
|
|
5271
5730
|
FetchResponseProtocolEnum,
|
|
5272
5731
|
FetchResponseToJSON,
|
|
5273
5732
|
FetchResponseToJSONTyped,
|
|
5733
|
+
GetPurchaseIdParameterFromJSON,
|
|
5734
|
+
GetPurchaseIdParameterFromJSONTyped,
|
|
5735
|
+
GetPurchaseIdParameterToJSON,
|
|
5736
|
+
GetPurchaseIdParameterToJSONTyped,
|
|
5274
5737
|
InsufficientScopeResponseErrorEnum,
|
|
5275
5738
|
InsufficientScopeResponseFromJSON,
|
|
5276
5739
|
InsufficientScopeResponseFromJSONTyped,
|
|
@@ -5393,6 +5856,40 @@ export {
|
|
|
5393
5856
|
SearchCapabilityRefFromJSONTyped,
|
|
5394
5857
|
SearchCapabilityRefToJSON,
|
|
5395
5858
|
SearchCapabilityRefToJSONTyped,
|
|
5859
|
+
SearchCompactAccessFromJSON,
|
|
5860
|
+
SearchCompactAccessFromJSONTyped,
|
|
5861
|
+
SearchCompactAccessPriceFromJSON,
|
|
5862
|
+
SearchCompactAccessPriceFromJSONTyped,
|
|
5863
|
+
SearchCompactAccessPriceToJSON,
|
|
5864
|
+
SearchCompactAccessPriceToJSONTyped,
|
|
5865
|
+
SearchCompactAccessToJSON,
|
|
5866
|
+
SearchCompactAccessToJSONTyped,
|
|
5867
|
+
SearchCompactNextCallFromJSON,
|
|
5868
|
+
SearchCompactNextCallFromJSONTyped,
|
|
5869
|
+
SearchCompactNextCallMethodEnum,
|
|
5870
|
+
SearchCompactNextCallPathEnum,
|
|
5871
|
+
SearchCompactNextCallToJSON,
|
|
5872
|
+
SearchCompactNextCallToJSONTyped,
|
|
5873
|
+
SearchCompactResultAttributionFromJSON,
|
|
5874
|
+
SearchCompactResultAttributionFromJSONTyped,
|
|
5875
|
+
SearchCompactResultAttributionToJSON,
|
|
5876
|
+
SearchCompactResultAttributionToJSONTyped,
|
|
5877
|
+
SearchCompactResultBlockedScopesInnerFromJSON,
|
|
5878
|
+
SearchCompactResultBlockedScopesInnerFromJSONTyped,
|
|
5879
|
+
SearchCompactResultBlockedScopesInnerToJSON,
|
|
5880
|
+
SearchCompactResultBlockedScopesInnerToJSONTyped,
|
|
5881
|
+
SearchCompactResultFromJSON,
|
|
5882
|
+
SearchCompactResultFromJSONTyped,
|
|
5883
|
+
SearchCompactResultOperationFromJSON,
|
|
5884
|
+
SearchCompactResultOperationFromJSONTyped,
|
|
5885
|
+
SearchCompactResultOperationToJSON,
|
|
5886
|
+
SearchCompactResultOperationToJSONTyped,
|
|
5887
|
+
SearchCompactResultProviderFromJSON,
|
|
5888
|
+
SearchCompactResultProviderFromJSONTyped,
|
|
5889
|
+
SearchCompactResultProviderToJSON,
|
|
5890
|
+
SearchCompactResultProviderToJSONTyped,
|
|
5891
|
+
SearchCompactResultToJSON,
|
|
5892
|
+
SearchCompactResultToJSONTyped,
|
|
5396
5893
|
SearchCuratedCallabilityFromJSON,
|
|
5397
5894
|
SearchCuratedCallabilityFromJSONTyped,
|
|
5398
5895
|
SearchCuratedCallabilityStateEnum,
|
|
@@ -5485,6 +5982,7 @@ export {
|
|
|
5485
5982
|
SearchRequestFromJSONTyped,
|
|
5486
5983
|
SearchRequestToJSON,
|
|
5487
5984
|
SearchRequestToJSONTyped,
|
|
5985
|
+
SearchRequestViewEnum,
|
|
5488
5986
|
SearchResourceTypeFilterEqEnum,
|
|
5489
5987
|
SearchResourceTypeFilterFromJSON,
|
|
5490
5988
|
SearchResourceTypeFilterFromJSONTyped,
|
|
@@ -5500,6 +5998,7 @@ export {
|
|
|
5500
5998
|
SearchResponseServedFromEnum,
|
|
5501
5999
|
SearchResponseToJSON,
|
|
5502
6000
|
SearchResponseToJSONTyped,
|
|
6001
|
+
SearchResponseViewEnum,
|
|
5503
6002
|
SearchResponseWarningsInnerFromJSON,
|
|
5504
6003
|
SearchResponseWarningsInnerFromJSONTyped,
|
|
5505
6004
|
SearchResponseWarningsInnerToJSON,
|
|
@@ -5512,6 +6011,7 @@ export {
|
|
|
5512
6011
|
SearchStringSetFilterFromJSONTyped,
|
|
5513
6012
|
SearchStringSetFilterToJSON,
|
|
5514
6013
|
SearchStringSetFilterToJSONTyped,
|
|
6014
|
+
SearchWeftFetchCompatibilityCoverageEnum,
|
|
5515
6015
|
SearchWeftFetchCompatibilityFromJSON,
|
|
5516
6016
|
SearchWeftFetchCompatibilityFromJSONTyped,
|
|
5517
6017
|
SearchWeftFetchCompatibilityStateEnum,
|
|
@@ -5603,6 +6103,14 @@ export {
|
|
|
5603
6103
|
instanceOfResourceStats,
|
|
5604
6104
|
instanceOfSearchAccessMethod,
|
|
5605
6105
|
instanceOfSearchCapabilityRef,
|
|
6106
|
+
instanceOfSearchCompactAccess,
|
|
6107
|
+
instanceOfSearchCompactAccessPrice,
|
|
6108
|
+
instanceOfSearchCompactNextCall,
|
|
6109
|
+
instanceOfSearchCompactResult,
|
|
6110
|
+
instanceOfSearchCompactResultAttribution,
|
|
6111
|
+
instanceOfSearchCompactResultBlockedScopesInner,
|
|
6112
|
+
instanceOfSearchCompactResultOperation,
|
|
6113
|
+
instanceOfSearchCompactResultProvider,
|
|
5606
6114
|
instanceOfSearchCuratedCallability,
|
|
5607
6115
|
instanceOfSearchCuratedExecution,
|
|
5608
6116
|
instanceOfSearchCuratedOperation,
|