@meetkai/mka1 0.48.39 → 0.48.41
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 +69 -17
- package/bin/mcp-server.js.map +24 -24
- package/dist/commonjs/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsList.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsList.js +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/http.d.ts +1 -1
- package/dist/commonjs/lib/http.d.ts.map +1 -1
- package/dist/commonjs/lib/http.js +1 -1
- package/dist/commonjs/lib/http.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts +5 -4
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +6 -7
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
- package/dist/commonjs/models/components/addregistrymodelrequest.d.ts +21 -0
- package/dist/commonjs/models/components/addregistrymodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/addregistrymodelrequest.js +25 -1
- package/dist/commonjs/models/components/addregistrymodelrequest.js.map +1 -1
- package/dist/commonjs/models/components/updateregistrymodelrequest.d.ts +21 -0
- package/dist/commonjs/models/components/updateregistrymodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/updateregistrymodelrequest.js +25 -1
- package/dist/commonjs/models/components/updateregistrymodelrequest.js.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.js +4 -0
- package/dist/commonjs/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.js +4 -0
- package/dist/commonjs/models/operations/getorgbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.js +4 -0
- package/dist/commonjs/models/operations/listbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.js +4 -0
- package/dist/commonjs/models/operations/setapikeybudget.js.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.js +4 -0
- package/dist/commonjs/models/operations/setorgbudget.js.map +1 -1
- package/dist/commonjs/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/commonjs/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsGetApiKey.js +2 -2
- package/dist/commonjs/react-query/budgetsList.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsList.js +2 -2
- package/dist/commonjs/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/sdk/budgets.d.ts +5 -5
- package/dist/commonjs/sdk/budgets.js +5 -5
- package/dist/esm/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/esm/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.js +1 -1
- package/dist/esm/funcs/budgetsList.d.ts +1 -1
- package/dist/esm/funcs/budgetsList.js +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/http.d.ts +1 -1
- package/dist/esm/lib/http.d.ts.map +1 -1
- package/dist/esm/lib/http.js +1 -1
- package/dist/esm/lib/http.js.map +1 -1
- package/dist/esm/lib/security.d.ts +5 -4
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +4 -5
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
- package/dist/esm/models/components/addregistrymodelrequest.d.ts +21 -0
- package/dist/esm/models/components/addregistrymodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/addregistrymodelrequest.js +22 -0
- package/dist/esm/models/components/addregistrymodelrequest.js.map +1 -1
- package/dist/esm/models/components/updateregistrymodelrequest.d.ts +21 -0
- package/dist/esm/models/components/updateregistrymodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/updateregistrymodelrequest.js +22 -0
- package/dist/esm/models/components/updateregistrymodelrequest.js.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.d.ts +2 -0
- package/dist/esm/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.js +4 -0
- package/dist/esm/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/esm/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.js +4 -0
- package/dist/esm/models/operations/getorgbudgets.js.map +1 -1
- package/dist/esm/models/operations/listbudgets.d.ts +2 -0
- package/dist/esm/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/listbudgets.js +4 -0
- package/dist/esm/models/operations/listbudgets.js.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/esm/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.js +4 -0
- package/dist/esm/models/operations/setapikeybudget.js.map +1 -1
- package/dist/esm/models/operations/setorgbudget.d.ts +2 -0
- package/dist/esm/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setorgbudget.js +4 -0
- package/dist/esm/models/operations/setorgbudget.js.map +1 -1
- package/dist/esm/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/esm/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/esm/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/esm/react-query/budgetsGetApiKey.js +2 -2
- package/dist/esm/react-query/budgetsList.d.ts +2 -2
- package/dist/esm/react-query/budgetsList.js +2 -2
- package/dist/esm/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsSetApiKey.js +1 -1
- package/dist/esm/sdk/budgets.d.ts +5 -5
- package/dist/esm/sdk/budgets.js +5 -5
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/budgetsApiKeyEvents.ts +1 -1
- package/src/funcs/budgetsDeleteApiKey.ts +1 -1
- package/src/funcs/budgetsGetApiKey.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsSetApiKey.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/budgetsApiKeyEvents.ts +1 -1
- package/src/mcp-server/tools/budgetsDeleteApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsGetApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsList.ts +1 -1
- package/src/mcp-server/tools/budgetsSetApiKey.ts +1 -1
- package/src/models/components/addregistrymodelrequest.ts +55 -0
- package/src/models/components/updateregistrymodelrequest.ts +69 -0
- package/src/models/operations/getapikeybudgets.ts +6 -0
- package/src/models/operations/getorgbudgets.ts +6 -0
- package/src/models/operations/listbudgets.ts +6 -0
- package/src/models/operations/setapikeybudget.ts +6 -0
- package/src/models/operations/setorgbudget.ts +6 -0
- package/src/react-query/budgetsApiKeyEvents.ts +2 -2
- package/src/react-query/budgetsDeleteApiKey.ts +1 -1
- package/src/react-query/budgetsGetApiKey.ts +2 -2
- package/src/react-query/budgetsList.ts +2 -2
- package/src/react-query/budgetsSetApiKey.ts +1 -1
- package/src/sdk/budgets.ts +5 -5
package/bin/mcp-server.js
CHANGED
|
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
|
|
|
52876
52876
|
SDK_METADATA = {
|
|
52877
52877
|
language: "typescript",
|
|
52878
52878
|
openapiDocVersion: "1.1.0",
|
|
52879
|
-
sdkVersion: "0.48.
|
|
52880
|
-
genVersion: "2.916.
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.48.
|
|
52879
|
+
sdkVersion: "0.48.41",
|
|
52880
|
+
genVersion: "2.916.4",
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.48.41 2.916.4 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -53223,11 +53223,11 @@ var init_encodings = __esm(() => {
|
|
|
53223
53223
|
|
|
53224
53224
|
// src/lib/http.ts
|
|
53225
53225
|
class HTTPClient {
|
|
53226
|
-
options;
|
|
53227
53226
|
fetcher;
|
|
53228
53227
|
requestHooks = [];
|
|
53229
53228
|
requestErrorHooks = [];
|
|
53230
53229
|
responseHooks = [];
|
|
53230
|
+
options;
|
|
53231
53231
|
constructor(options = {}) {
|
|
53232
53232
|
this.options = options;
|
|
53233
53233
|
this.fetcher = options.fetcher || DEFAULT_FETCHER;
|
|
@@ -54462,8 +54462,12 @@ async function extractSecurity(sec) {
|
|
|
54462
54462
|
}
|
|
54463
54463
|
return typeof sec === "function" ? sec() : sec;
|
|
54464
54464
|
}
|
|
54465
|
-
var SecurityError;
|
|
54465
|
+
var SecurityErrorCode, SecurityError;
|
|
54466
54466
|
var init_security = __esm(() => {
|
|
54467
|
+
SecurityErrorCode = {
|
|
54468
|
+
Incomplete: "incomplete",
|
|
54469
|
+
UnrecognisedSecurityType: "unrecognized_security_type"
|
|
54470
|
+
};
|
|
54467
54471
|
SecurityError = class SecurityError extends Error {
|
|
54468
54472
|
code;
|
|
54469
54473
|
constructor(code, message) {
|
|
@@ -54472,10 +54476,10 @@ var init_security = __esm(() => {
|
|
|
54472
54476
|
this.name = "SecurityError";
|
|
54473
54477
|
}
|
|
54474
54478
|
static incomplete() {
|
|
54475
|
-
return new SecurityError(
|
|
54479
|
+
return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
|
|
54476
54480
|
}
|
|
54477
54481
|
static unrecognizedType(type) {
|
|
54478
|
-
return new SecurityError(
|
|
54482
|
+
return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
|
|
54479
54483
|
}
|
|
54480
54484
|
};
|
|
54481
54485
|
});
|
|
@@ -54568,7 +54572,7 @@ var init_autoendpoint = __esm(() => {
|
|
|
54568
54572
|
});
|
|
54569
54573
|
|
|
54570
54574
|
// src/models/components/addregistrymodelrequest.ts
|
|
54571
|
-
var ApiProviderType, AddRegistryModelRequestInput, AddRegistryModelRequestOutput, Scope, Modality, AddRegistryModelRequestHealthCheckMethod, HealthCheckMethod, ApiProviderType$inboundSchema, ApiProviderType$outboundSchema, AddRegistryModelRequestStrategies4$inboundSchema, AddRegistryModelRequestStrategies4$outboundSchema, AddRegistryModelRequestStrategies3$inboundSchema, AddRegistryModelRequestStrategies3$outboundSchema, AddRegistryModelRequestStrategies2$inboundSchema, AddRegistryModelRequestStrategies2$outboundSchema, AddRegistryModelRequestStrategies1$inboundSchema, AddRegistryModelRequestStrategies1$outboundSchema, StrategiesStrategies$inboundSchema, StrategiesStrategies$outboundSchema, Strategies4$inboundSchema, Strategies4$outboundSchema, Strategies3$inboundSchema, Strategies3$outboundSchema, Strategies2$inboundSchema, Strategies2$outboundSchema, Strategies1$inboundSchema, Strategies1$outboundSchema, Strategies$inboundSchema, Strategies$outboundSchema, Auth4$inboundSchema, Auth4$outboundSchema, Auth3$inboundSchema, Auth3$outboundSchema, Auth2$inboundSchema, Auth2$outboundSchema, Auth1$inboundSchema, Auth1$outboundSchema, Auth$inboundSchema, Auth$outboundSchema, AddRegistryModelRequestInput$inboundSchema, AddRegistryModelRequestInput$outboundSchema, AddRegistryModelRequestOutput$inboundSchema, AddRegistryModelRequestOutput$outboundSchema, AddRegistryModelRequestModalities$inboundSchema, AddRegistryModelRequestModalities$outboundSchema, MaxImageResolution$inboundSchema, MaxImageResolution$outboundSchema, MinImageResolution$inboundSchema, MinImageResolution$outboundSchema, Capabilities$inboundSchema, Capabilities$outboundSchema, Scope$inboundSchema, Scope$outboundSchema, Queue$inboundSchema, Queue$outboundSchema, RateLimits$inboundSchema, RateLimits$outboundSchema, DefaultParams$inboundSchema, DefaultParams$outboundSchema, Trigger4$inboundSchema, Trigger4$outboundSchema, Trigger3$inboundSchema, Trigger3$outboundSchema, Trigger2$inboundSchema, Trigger2$outboundSchema, Modality$inboundSchema, Modality$outboundSchema, Trigger1$inboundSchema, Trigger1$outboundSchema, Trigger$inboundSchema, Trigger$outboundSchema, RerouteRules$inboundSchema, RerouteRules$outboundSchema, Dimensions2$inboundSchema, Dimensions2$outboundSchema, Dimensions$inboundSchema, Dimensions$outboundSchema, EmbeddingLimits$inboundSchema, EmbeddingLimits$outboundSchema, AddRegistryModelRequestHealthCheckMethod$inboundSchema, AddRegistryModelRequestHealthCheckMethod$outboundSchema, HealthCheck3$inboundSchema, HealthCheck3$outboundSchema, HealthCheckMethod$inboundSchema, HealthCheckMethod$outboundSchema, HealthCheck2$inboundSchema, HealthCheck2$outboundSchema, HealthCheck1$inboundSchema, HealthCheck1$outboundSchema, HealthCheck$inboundSchema, HealthCheck$outboundSchema, AddRegistryModelRequest$inboundSchema, AddRegistryModelRequest$outboundSchema;
|
|
54575
|
+
var ApiProviderType, AddRegistryModelRequestInput, AddRegistryModelRequestOutput, Scope, Modality, AddRegistryModelRequestHealthCheckMethod, HealthCheckMethod, ApiProviderType$inboundSchema, ApiProviderType$outboundSchema, AddRegistryModelRequestStrategies4$inboundSchema, AddRegistryModelRequestStrategies4$outboundSchema, AddRegistryModelRequestStrategies3$inboundSchema, AddRegistryModelRequestStrategies3$outboundSchema, AddRegistryModelRequestStrategies2$inboundSchema, AddRegistryModelRequestStrategies2$outboundSchema, AddRegistryModelRequestStrategies1$inboundSchema, AddRegistryModelRequestStrategies1$outboundSchema, StrategiesStrategies$inboundSchema, StrategiesStrategies$outboundSchema, Strategies4$inboundSchema, Strategies4$outboundSchema, Strategies3$inboundSchema, Strategies3$outboundSchema, Strategies2$inboundSchema, Strategies2$outboundSchema, Strategies1$inboundSchema, Strategies1$outboundSchema, Strategies$inboundSchema, Strategies$outboundSchema, Auth4$inboundSchema, Auth4$outboundSchema, Auth3$inboundSchema, Auth3$outboundSchema, Auth2$inboundSchema, Auth2$outboundSchema, Auth1$inboundSchema, Auth1$outboundSchema, Auth$inboundSchema, Auth$outboundSchema, AddRegistryModelRequestInput$inboundSchema, AddRegistryModelRequestInput$outboundSchema, AddRegistryModelRequestOutput$inboundSchema, AddRegistryModelRequestOutput$outboundSchema, AddRegistryModelRequestModalities$inboundSchema, AddRegistryModelRequestModalities$outboundSchema, MaxImageResolution$inboundSchema, MaxImageResolution$outboundSchema, MinImageResolution$inboundSchema, MinImageResolution$outboundSchema, Capabilities$inboundSchema, Capabilities$outboundSchema, Scope$inboundSchema, Scope$outboundSchema, Queue$inboundSchema, Queue$outboundSchema, RateLimits$inboundSchema, RateLimits$outboundSchema, Concurrency$inboundSchema, Concurrency$outboundSchema, DefaultParams$inboundSchema, DefaultParams$outboundSchema, Trigger4$inboundSchema, Trigger4$outboundSchema, Trigger3$inboundSchema, Trigger3$outboundSchema, Trigger2$inboundSchema, Trigger2$outboundSchema, Modality$inboundSchema, Modality$outboundSchema, Trigger1$inboundSchema, Trigger1$outboundSchema, Trigger$inboundSchema, Trigger$outboundSchema, RerouteRules$inboundSchema, RerouteRules$outboundSchema, Dimensions2$inboundSchema, Dimensions2$outboundSchema, Dimensions$inboundSchema, Dimensions$outboundSchema, EmbeddingLimits$inboundSchema, EmbeddingLimits$outboundSchema, AddRegistryModelRequestHealthCheckMethod$inboundSchema, AddRegistryModelRequestHealthCheckMethod$outboundSchema, HealthCheck3$inboundSchema, HealthCheck3$outboundSchema, HealthCheckMethod$inboundSchema, HealthCheckMethod$outboundSchema, HealthCheck2$inboundSchema, HealthCheck2$outboundSchema, HealthCheck1$inboundSchema, HealthCheck1$outboundSchema, HealthCheck$inboundSchema, HealthCheck$outboundSchema, AddRegistryModelRequest$inboundSchema, AddRegistryModelRequest$outboundSchema;
|
|
54572
54576
|
var init_addregistrymodelrequest = __esm(() => {
|
|
54573
54577
|
init_esm();
|
|
54574
54578
|
init_autoendpoint();
|
|
@@ -54849,6 +54853,14 @@ var init_addregistrymodelrequest = __esm(() => {
|
|
|
54849
54853
|
duration: numberType().int().optional(),
|
|
54850
54854
|
queue: lazyType(() => Queue$outboundSchema).optional()
|
|
54851
54855
|
});
|
|
54856
|
+
Concurrency$inboundSchema = objectType({
|
|
54857
|
+
max: numberType().int(),
|
|
54858
|
+
maxWaitMs: numberType().int().optional()
|
|
54859
|
+
});
|
|
54860
|
+
Concurrency$outboundSchema = objectType({
|
|
54861
|
+
max: numberType().int(),
|
|
54862
|
+
maxWaitMs: numberType().int().optional()
|
|
54863
|
+
});
|
|
54852
54864
|
DefaultParams$inboundSchema = objectType({
|
|
54853
54865
|
temperature: numberType().optional(),
|
|
54854
54866
|
topP: numberType().optional(),
|
|
@@ -55018,6 +55030,9 @@ var init_addregistrymodelrequest = __esm(() => {
|
|
|
55018
55030
|
contextWindow: numberType().int().optional(),
|
|
55019
55031
|
rpm: numberType().int().optional(),
|
|
55020
55032
|
rateLimits: arrayType(lazyType(() => RateLimits$inboundSchema)).optional(),
|
|
55033
|
+
concurrency: lazyType(() => Concurrency$inboundSchema).optional(),
|
|
55034
|
+
requestTimeoutMs: numberType().int().optional(),
|
|
55035
|
+
maxRetries: numberType().int().optional(),
|
|
55021
55036
|
defaultParams: lazyType(() => DefaultParams$inboundSchema).optional(),
|
|
55022
55037
|
rerouteRules: arrayType(lazyType(() => RerouteRules$inboundSchema)).optional(),
|
|
55023
55038
|
hidden: booleanType().optional(),
|
|
@@ -55047,6 +55062,9 @@ var init_addregistrymodelrequest = __esm(() => {
|
|
|
55047
55062
|
contextWindow: numberType().int().optional(),
|
|
55048
55063
|
rpm: numberType().int().optional(),
|
|
55049
55064
|
rateLimits: arrayType(lazyType(() => RateLimits$outboundSchema)).optional(),
|
|
55065
|
+
concurrency: lazyType(() => Concurrency$outboundSchema).optional(),
|
|
55066
|
+
requestTimeoutMs: numberType().int().optional(),
|
|
55067
|
+
maxRetries: numberType().int().optional(),
|
|
55050
55068
|
defaultParams: lazyType(() => DefaultParams$outboundSchema).optional(),
|
|
55051
55069
|
rerouteRules: arrayType(lazyType(() => RerouteRules$outboundSchema)).optional(),
|
|
55052
55070
|
hidden: booleanType().optional(),
|
|
@@ -76208,7 +76226,7 @@ var init_updatememorystorerequest = __esm(() => {
|
|
|
76208
76226
|
});
|
|
76209
76227
|
|
|
76210
76228
|
// src/models/components/updateregistrymodelrequest.ts
|
|
76211
|
-
var UpdateRegistryModelRequestApiProviderType, UpdateRegistryModelRequestInput, UpdateRegistryModelRequestOutput, RateLimitsScope, TriggerModality, UpdateRegistryModelRequestHealthCheck3Method, UpdateRegistryModelRequestHealthCheckMethod, UpdateRegistryModelRequestApiProviderType$inboundSchema, UpdateRegistryModelRequestApiProviderType$outboundSchema, UpdateRegistryModelRequestStrategiesAuth4$inboundSchema, UpdateRegistryModelRequestStrategiesAuth4$outboundSchema, UpdateRegistryModelRequestStrategiesAuth3$inboundSchema, UpdateRegistryModelRequestStrategiesAuth3$outboundSchema, UpdateRegistryModelRequestStrategiesAuth2$inboundSchema, UpdateRegistryModelRequestStrategiesAuth2$outboundSchema, UpdateRegistryModelRequestStrategiesAuth1$inboundSchema, UpdateRegistryModelRequestStrategiesAuth1$outboundSchema, UpdateRegistryModelRequestStrategiesStrategies$inboundSchema, UpdateRegistryModelRequestStrategiesStrategies$outboundSchema, UpdateRegistryModelRequestStrategies4$inboundSchema, UpdateRegistryModelRequestStrategies4$outboundSchema, UpdateRegistryModelRequestStrategies3$inboundSchema, UpdateRegistryModelRequestStrategies3$outboundSchema, UpdateRegistryModelRequestStrategies2$inboundSchema, UpdateRegistryModelRequestStrategies2$outboundSchema, UpdateRegistryModelRequestStrategies1$inboundSchema, UpdateRegistryModelRequestStrategies1$outboundSchema, AuthStrategies$inboundSchema, AuthStrategies$outboundSchema, UpdateRegistryModelRequestAuth4$inboundSchema, UpdateRegistryModelRequestAuth4$outboundSchema, UpdateRegistryModelRequestAuth3$inboundSchema, UpdateRegistryModelRequestAuth3$outboundSchema, UpdateRegistryModelRequestAuth2$inboundSchema, UpdateRegistryModelRequestAuth2$outboundSchema, UpdateRegistryModelRequestAuth1$inboundSchema, UpdateRegistryModelRequestAuth1$outboundSchema, UpdateRegistryModelRequestAuth$inboundSchema, UpdateRegistryModelRequestAuth$outboundSchema, UpdateRegistryModelRequestInput$inboundSchema, UpdateRegistryModelRequestInput$outboundSchema, UpdateRegistryModelRequestOutput$inboundSchema, UpdateRegistryModelRequestOutput$outboundSchema, UpdateRegistryModelRequestModalities$inboundSchema, UpdateRegistryModelRequestModalities$outboundSchema, UpdateRegistryModelRequestMaxImageResolution$inboundSchema, UpdateRegistryModelRequestMaxImageResolution$outboundSchema, UpdateRegistryModelRequestMinImageResolution$inboundSchema, UpdateRegistryModelRequestMinImageResolution$outboundSchema, UpdateRegistryModelRequestCapabilities$inboundSchema, UpdateRegistryModelRequestCapabilities$outboundSchema, RateLimitsScope$inboundSchema, RateLimitsScope$outboundSchema, RateLimitsQueue$inboundSchema, RateLimitsQueue$outboundSchema, UpdateRegistryModelRequestRateLimits$inboundSchema, UpdateRegistryModelRequestRateLimits$outboundSchema, UpdateRegistryModelRequestDefaultParams$inboundSchema, UpdateRegistryModelRequestDefaultParams$outboundSchema, UpdateRegistryModelRequestTrigger4$inboundSchema, UpdateRegistryModelRequestTrigger4$outboundSchema, UpdateRegistryModelRequestTrigger3$inboundSchema, UpdateRegistryModelRequestTrigger3$outboundSchema, UpdateRegistryModelRequestTrigger2$inboundSchema, UpdateRegistryModelRequestTrigger2$outboundSchema, TriggerModality$inboundSchema, TriggerModality$outboundSchema, UpdateRegistryModelRequestTrigger1$inboundSchema, UpdateRegistryModelRequestTrigger1$outboundSchema, RerouteRulesTrigger$inboundSchema, RerouteRulesTrigger$outboundSchema, UpdateRegistryModelRequestRerouteRules$inboundSchema, UpdateRegistryModelRequestRerouteRules$outboundSchema, UpdateRegistryModelRequestDimensions2$inboundSchema, UpdateRegistryModelRequestDimensions2$outboundSchema, EmbeddingLimitsDimensions$inboundSchema, EmbeddingLimitsDimensions$outboundSchema, UpdateRegistryModelRequestEmbeddingLimits$inboundSchema, UpdateRegistryModelRequestEmbeddingLimits$outboundSchema, UpdateRegistryModelRequestHealthCheck3Method$inboundSchema, UpdateRegistryModelRequestHealthCheck3Method$outboundSchema, UpdateRegistryModelRequestHealthCheck3$inboundSchema, UpdateRegistryModelRequestHealthCheck3$outboundSchema, UpdateRegistryModelRequestHealthCheckMethod$inboundSchema, UpdateRegistryModelRequestHealthCheckMethod$outboundSchema, UpdateRegistryModelRequestHealthCheck2$inboundSchema, UpdateRegistryModelRequestHealthCheck2$outboundSchema, UpdateRegistryModelRequestHealthCheck1$inboundSchema, UpdateRegistryModelRequestHealthCheck1$outboundSchema, UpdateRegistryModelRequestHealthCheck$inboundSchema, UpdateRegistryModelRequestHealthCheck$outboundSchema, UpdateRegistryModelRequest$inboundSchema, UpdateRegistryModelRequest$outboundSchema;
|
|
76229
|
+
var UpdateRegistryModelRequestApiProviderType, UpdateRegistryModelRequestInput, UpdateRegistryModelRequestOutput, RateLimitsScope, TriggerModality, UpdateRegistryModelRequestHealthCheck3Method, UpdateRegistryModelRequestHealthCheckMethod, UpdateRegistryModelRequestApiProviderType$inboundSchema, UpdateRegistryModelRequestApiProviderType$outboundSchema, UpdateRegistryModelRequestStrategiesAuth4$inboundSchema, UpdateRegistryModelRequestStrategiesAuth4$outboundSchema, UpdateRegistryModelRequestStrategiesAuth3$inboundSchema, UpdateRegistryModelRequestStrategiesAuth3$outboundSchema, UpdateRegistryModelRequestStrategiesAuth2$inboundSchema, UpdateRegistryModelRequestStrategiesAuth2$outboundSchema, UpdateRegistryModelRequestStrategiesAuth1$inboundSchema, UpdateRegistryModelRequestStrategiesAuth1$outboundSchema, UpdateRegistryModelRequestStrategiesStrategies$inboundSchema, UpdateRegistryModelRequestStrategiesStrategies$outboundSchema, UpdateRegistryModelRequestStrategies4$inboundSchema, UpdateRegistryModelRequestStrategies4$outboundSchema, UpdateRegistryModelRequestStrategies3$inboundSchema, UpdateRegistryModelRequestStrategies3$outboundSchema, UpdateRegistryModelRequestStrategies2$inboundSchema, UpdateRegistryModelRequestStrategies2$outboundSchema, UpdateRegistryModelRequestStrategies1$inboundSchema, UpdateRegistryModelRequestStrategies1$outboundSchema, AuthStrategies$inboundSchema, AuthStrategies$outboundSchema, UpdateRegistryModelRequestAuth4$inboundSchema, UpdateRegistryModelRequestAuth4$outboundSchema, UpdateRegistryModelRequestAuth3$inboundSchema, UpdateRegistryModelRequestAuth3$outboundSchema, UpdateRegistryModelRequestAuth2$inboundSchema, UpdateRegistryModelRequestAuth2$outboundSchema, UpdateRegistryModelRequestAuth1$inboundSchema, UpdateRegistryModelRequestAuth1$outboundSchema, UpdateRegistryModelRequestAuth$inboundSchema, UpdateRegistryModelRequestAuth$outboundSchema, UpdateRegistryModelRequestInput$inboundSchema, UpdateRegistryModelRequestInput$outboundSchema, UpdateRegistryModelRequestOutput$inboundSchema, UpdateRegistryModelRequestOutput$outboundSchema, UpdateRegistryModelRequestModalities$inboundSchema, UpdateRegistryModelRequestModalities$outboundSchema, UpdateRegistryModelRequestMaxImageResolution$inboundSchema, UpdateRegistryModelRequestMaxImageResolution$outboundSchema, UpdateRegistryModelRequestMinImageResolution$inboundSchema, UpdateRegistryModelRequestMinImageResolution$outboundSchema, UpdateRegistryModelRequestCapabilities$inboundSchema, UpdateRegistryModelRequestCapabilities$outboundSchema, RateLimitsScope$inboundSchema, RateLimitsScope$outboundSchema, RateLimitsQueue$inboundSchema, RateLimitsQueue$outboundSchema, UpdateRegistryModelRequestRateLimits$inboundSchema, UpdateRegistryModelRequestRateLimits$outboundSchema, UpdateRegistryModelRequestConcurrency$inboundSchema, UpdateRegistryModelRequestConcurrency$outboundSchema, UpdateRegistryModelRequestDefaultParams$inboundSchema, UpdateRegistryModelRequestDefaultParams$outboundSchema, UpdateRegistryModelRequestTrigger4$inboundSchema, UpdateRegistryModelRequestTrigger4$outboundSchema, UpdateRegistryModelRequestTrigger3$inboundSchema, UpdateRegistryModelRequestTrigger3$outboundSchema, UpdateRegistryModelRequestTrigger2$inboundSchema, UpdateRegistryModelRequestTrigger2$outboundSchema, TriggerModality$inboundSchema, TriggerModality$outboundSchema, UpdateRegistryModelRequestTrigger1$inboundSchema, UpdateRegistryModelRequestTrigger1$outboundSchema, RerouteRulesTrigger$inboundSchema, RerouteRulesTrigger$outboundSchema, UpdateRegistryModelRequestRerouteRules$inboundSchema, UpdateRegistryModelRequestRerouteRules$outboundSchema, UpdateRegistryModelRequestDimensions2$inboundSchema, UpdateRegistryModelRequestDimensions2$outboundSchema, EmbeddingLimitsDimensions$inboundSchema, EmbeddingLimitsDimensions$outboundSchema, UpdateRegistryModelRequestEmbeddingLimits$inboundSchema, UpdateRegistryModelRequestEmbeddingLimits$outboundSchema, UpdateRegistryModelRequestHealthCheck3Method$inboundSchema, UpdateRegistryModelRequestHealthCheck3Method$outboundSchema, UpdateRegistryModelRequestHealthCheck3$inboundSchema, UpdateRegistryModelRequestHealthCheck3$outboundSchema, UpdateRegistryModelRequestHealthCheckMethod$inboundSchema, UpdateRegistryModelRequestHealthCheckMethod$outboundSchema, UpdateRegistryModelRequestHealthCheck2$inboundSchema, UpdateRegistryModelRequestHealthCheck2$outboundSchema, UpdateRegistryModelRequestHealthCheck1$inboundSchema, UpdateRegistryModelRequestHealthCheck1$outboundSchema, UpdateRegistryModelRequestHealthCheck$inboundSchema, UpdateRegistryModelRequestHealthCheck$outboundSchema, UpdateRegistryModelRequest$inboundSchema, UpdateRegistryModelRequest$outboundSchema;
|
|
76212
76230
|
var init_updateregistrymodelrequest = __esm(() => {
|
|
76213
76231
|
init_esm();
|
|
76214
76232
|
init_autoendpoint();
|
|
@@ -76489,6 +76507,14 @@ var init_updateregistrymodelrequest = __esm(() => {
|
|
|
76489
76507
|
duration: numberType().int().optional(),
|
|
76490
76508
|
queue: lazyType(() => RateLimitsQueue$outboundSchema).optional()
|
|
76491
76509
|
});
|
|
76510
|
+
UpdateRegistryModelRequestConcurrency$inboundSchema = objectType({
|
|
76511
|
+
max: numberType().int(),
|
|
76512
|
+
maxWaitMs: numberType().int().optional()
|
|
76513
|
+
});
|
|
76514
|
+
UpdateRegistryModelRequestConcurrency$outboundSchema = objectType({
|
|
76515
|
+
max: numberType().int(),
|
|
76516
|
+
maxWaitMs: numberType().int().optional()
|
|
76517
|
+
});
|
|
76492
76518
|
UpdateRegistryModelRequestDefaultParams$inboundSchema = objectType({
|
|
76493
76519
|
temperature: numberType().optional(),
|
|
76494
76520
|
topP: numberType().optional(),
|
|
@@ -76663,6 +76689,9 @@ var init_updateregistrymodelrequest = __esm(() => {
|
|
|
76663
76689
|
contextWindow: nullableType(numberType().int()).optional(),
|
|
76664
76690
|
rpm: nullableType(numberType().int()).optional(),
|
|
76665
76691
|
rateLimits: nullableType(arrayType(lazyType(() => UpdateRegistryModelRequestRateLimits$inboundSchema))).optional(),
|
|
76692
|
+
concurrency: nullableType(lazyType(() => UpdateRegistryModelRequestConcurrency$inboundSchema)).optional(),
|
|
76693
|
+
requestTimeoutMs: nullableType(numberType().int()).optional(),
|
|
76694
|
+
maxRetries: nullableType(numberType().int()).optional(),
|
|
76666
76695
|
defaultParams: nullableType(lazyType(() => UpdateRegistryModelRequestDefaultParams$inboundSchema)).optional(),
|
|
76667
76696
|
rerouteRules: nullableType(arrayType(lazyType(() => UpdateRegistryModelRequestRerouteRules$inboundSchema))).optional(),
|
|
76668
76697
|
hidden: nullableType(booleanType()).optional(),
|
|
@@ -76691,6 +76720,9 @@ var init_updateregistrymodelrequest = __esm(() => {
|
|
|
76691
76720
|
contextWindow: nullableType(numberType().int()).optional(),
|
|
76692
76721
|
rpm: nullableType(numberType().int()).optional(),
|
|
76693
76722
|
rateLimits: nullableType(arrayType(lazyType(() => UpdateRegistryModelRequestRateLimits$outboundSchema))).optional(),
|
|
76723
|
+
concurrency: nullableType(lazyType(() => UpdateRegistryModelRequestConcurrency$outboundSchema)).optional(),
|
|
76724
|
+
requestTimeoutMs: nullableType(numberType().int()).optional(),
|
|
76725
|
+
maxRetries: nullableType(numberType().int()).optional(),
|
|
76694
76726
|
defaultParams: nullableType(lazyType(() => UpdateRegistryModelRequestDefaultParams$outboundSchema)).optional(),
|
|
76695
76727
|
rerouteRules: nullableType(arrayType(lazyType(() => UpdateRegistryModelRequestRerouteRules$outboundSchema))).optional(),
|
|
76696
76728
|
hidden: nullableType(booleanType()).optional(),
|
|
@@ -89036,6 +89068,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89036
89068
|
id: stringType(),
|
|
89037
89069
|
scope: GetApiKeyBudgetsScope$inboundSchema,
|
|
89038
89070
|
scope_id: stringType(),
|
|
89071
|
+
scope_org_id: nullableType(stringType()),
|
|
89039
89072
|
owner: GetApiKeyBudgetsOwner$inboundSchema,
|
|
89040
89073
|
period: GetApiKeyBudgetsPeriod$inboundSchema,
|
|
89041
89074
|
limit: numberType(),
|
|
@@ -89045,6 +89078,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89045
89078
|
}).transform((v2) => {
|
|
89046
89079
|
return remap(v2, {
|
|
89047
89080
|
scope_id: "scopeId",
|
|
89081
|
+
scope_org_id: "scopeOrgId",
|
|
89048
89082
|
alert_webhook_url: "alertWebhookUrl"
|
|
89049
89083
|
});
|
|
89050
89084
|
});
|
|
@@ -89052,6 +89086,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89052
89086
|
id: stringType(),
|
|
89053
89087
|
scope: GetApiKeyBudgetsScope$outboundSchema,
|
|
89054
89088
|
scopeId: stringType(),
|
|
89089
|
+
scopeOrgId: nullableType(stringType()),
|
|
89055
89090
|
owner: GetApiKeyBudgetsOwner$outboundSchema,
|
|
89056
89091
|
period: GetApiKeyBudgetsPeriod$outboundSchema,
|
|
89057
89092
|
limit: numberType(),
|
|
@@ -89061,6 +89096,7 @@ var init_getapikeybudgets = __esm(() => {
|
|
|
89061
89096
|
}).transform((v2) => {
|
|
89062
89097
|
return remap(v2, {
|
|
89063
89098
|
scopeId: "scope_id",
|
|
89099
|
+
scopeOrgId: "scope_org_id",
|
|
89064
89100
|
alertWebhookUrl: "alert_webhook_url"
|
|
89065
89101
|
});
|
|
89066
89102
|
});
|
|
@@ -91391,6 +91427,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91391
91427
|
id: stringType(),
|
|
91392
91428
|
scope: GetOrgBudgetsScope$inboundSchema,
|
|
91393
91429
|
scope_id: stringType(),
|
|
91430
|
+
scope_org_id: nullableType(stringType()),
|
|
91394
91431
|
owner: GetOrgBudgetsOwner$inboundSchema,
|
|
91395
91432
|
period: GetOrgBudgetsPeriod$inboundSchema,
|
|
91396
91433
|
limit: numberType(),
|
|
@@ -91400,6 +91437,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91400
91437
|
}).transform((v2) => {
|
|
91401
91438
|
return remap(v2, {
|
|
91402
91439
|
scope_id: "scopeId",
|
|
91440
|
+
scope_org_id: "scopeOrgId",
|
|
91403
91441
|
alert_webhook_url: "alertWebhookUrl"
|
|
91404
91442
|
});
|
|
91405
91443
|
});
|
|
@@ -91407,6 +91445,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91407
91445
|
id: stringType(),
|
|
91408
91446
|
scope: GetOrgBudgetsScope$outboundSchema,
|
|
91409
91447
|
scopeId: stringType(),
|
|
91448
|
+
scopeOrgId: nullableType(stringType()),
|
|
91410
91449
|
owner: GetOrgBudgetsOwner$outboundSchema,
|
|
91411
91450
|
period: GetOrgBudgetsPeriod$outboundSchema,
|
|
91412
91451
|
limit: numberType(),
|
|
@@ -91416,6 +91455,7 @@ var init_getorgbudgets = __esm(() => {
|
|
|
91416
91455
|
}).transform((v2) => {
|
|
91417
91456
|
return remap(v2, {
|
|
91418
91457
|
scopeId: "scope_id",
|
|
91458
|
+
scopeOrgId: "scope_org_id",
|
|
91419
91459
|
alertWebhookUrl: "alert_webhook_url"
|
|
91420
91460
|
});
|
|
91421
91461
|
});
|
|
@@ -92987,6 +93027,7 @@ var init_listbudgets = __esm(() => {
|
|
|
92987
93027
|
id: stringType(),
|
|
92988
93028
|
scope: ListBudgetsScope$inboundSchema,
|
|
92989
93029
|
scope_id: stringType(),
|
|
93030
|
+
scope_org_id: nullableType(stringType()),
|
|
92990
93031
|
owner: ListBudgetsOwner$inboundSchema,
|
|
92991
93032
|
period: ListBudgetsPeriod$inboundSchema,
|
|
92992
93033
|
limit: numberType(),
|
|
@@ -92996,6 +93037,7 @@ var init_listbudgets = __esm(() => {
|
|
|
92996
93037
|
}).transform((v2) => {
|
|
92997
93038
|
return remap(v2, {
|
|
92998
93039
|
scope_id: "scopeId",
|
|
93040
|
+
scope_org_id: "scopeOrgId",
|
|
92999
93041
|
alert_webhook_url: "alertWebhookUrl"
|
|
93000
93042
|
});
|
|
93001
93043
|
});
|
|
@@ -93003,6 +93045,7 @@ var init_listbudgets = __esm(() => {
|
|
|
93003
93045
|
id: stringType(),
|
|
93004
93046
|
scope: ListBudgetsScope$outboundSchema,
|
|
93005
93047
|
scopeId: stringType(),
|
|
93048
|
+
scopeOrgId: nullableType(stringType()),
|
|
93006
93049
|
owner: ListBudgetsOwner$outboundSchema,
|
|
93007
93050
|
period: ListBudgetsPeriod$outboundSchema,
|
|
93008
93051
|
limit: numberType(),
|
|
@@ -93012,6 +93055,7 @@ var init_listbudgets = __esm(() => {
|
|
|
93012
93055
|
}).transform((v2) => {
|
|
93013
93056
|
return remap(v2, {
|
|
93014
93057
|
scopeId: "scope_id",
|
|
93058
|
+
scopeOrgId: "scope_org_id",
|
|
93015
93059
|
alertWebhookUrl: "alert_webhook_url"
|
|
93016
93060
|
});
|
|
93017
93061
|
});
|
|
@@ -97140,6 +97184,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97140
97184
|
id: stringType(),
|
|
97141
97185
|
scope: SetApiKeyBudgetScope$inboundSchema,
|
|
97142
97186
|
scope_id: stringType(),
|
|
97187
|
+
scope_org_id: nullableType(stringType()),
|
|
97143
97188
|
owner: SetApiKeyBudgetBudgetsOwner$inboundSchema,
|
|
97144
97189
|
period: SetApiKeyBudgetBudgetsPeriod$inboundSchema,
|
|
97145
97190
|
limit: numberType(),
|
|
@@ -97149,6 +97194,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97149
97194
|
}).transform((v2) => {
|
|
97150
97195
|
return remap(v2, {
|
|
97151
97196
|
scope_id: "scopeId",
|
|
97197
|
+
scope_org_id: "scopeOrgId",
|
|
97152
97198
|
alert_webhook_url: "alertWebhookUrl"
|
|
97153
97199
|
});
|
|
97154
97200
|
});
|
|
@@ -97156,6 +97202,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97156
97202
|
id: stringType(),
|
|
97157
97203
|
scope: SetApiKeyBudgetScope$outboundSchema,
|
|
97158
97204
|
scopeId: stringType(),
|
|
97205
|
+
scopeOrgId: nullableType(stringType()),
|
|
97159
97206
|
owner: SetApiKeyBudgetBudgetsOwner$outboundSchema,
|
|
97160
97207
|
period: SetApiKeyBudgetBudgetsPeriod$outboundSchema,
|
|
97161
97208
|
limit: numberType(),
|
|
@@ -97165,6 +97212,7 @@ var init_setapikeybudget = __esm(() => {
|
|
|
97165
97212
|
}).transform((v2) => {
|
|
97166
97213
|
return remap(v2, {
|
|
97167
97214
|
scopeId: "scope_id",
|
|
97215
|
+
scopeOrgId: "scope_org_id",
|
|
97168
97216
|
alertWebhookUrl: "alert_webhook_url"
|
|
97169
97217
|
});
|
|
97170
97218
|
});
|
|
@@ -97327,6 +97375,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97327
97375
|
id: stringType(),
|
|
97328
97376
|
scope: Scope$inboundSchema2,
|
|
97329
97377
|
scope_id: stringType(),
|
|
97378
|
+
scope_org_id: nullableType(stringType()),
|
|
97330
97379
|
owner: SetOrgBudgetOwner$inboundSchema,
|
|
97331
97380
|
period: SetOrgBudgetPeriod$inboundSchema,
|
|
97332
97381
|
limit: numberType(),
|
|
@@ -97336,6 +97385,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97336
97385
|
}).transform((v2) => {
|
|
97337
97386
|
return remap(v2, {
|
|
97338
97387
|
scope_id: "scopeId",
|
|
97388
|
+
scope_org_id: "scopeOrgId",
|
|
97339
97389
|
alert_webhook_url: "alertWebhookUrl"
|
|
97340
97390
|
});
|
|
97341
97391
|
});
|
|
@@ -97343,6 +97393,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97343
97393
|
id: stringType(),
|
|
97344
97394
|
scope: Scope$outboundSchema2,
|
|
97345
97395
|
scopeId: stringType(),
|
|
97396
|
+
scopeOrgId: nullableType(stringType()),
|
|
97346
97397
|
owner: SetOrgBudgetOwner$outboundSchema,
|
|
97347
97398
|
period: SetOrgBudgetPeriod$outboundSchema,
|
|
97348
97399
|
limit: numberType(),
|
|
@@ -97352,6 +97403,7 @@ var init_setorgbudget = __esm(() => {
|
|
|
97352
97403
|
}).transform((v2) => {
|
|
97353
97404
|
return remap(v2, {
|
|
97354
97405
|
scopeId: "scope_id",
|
|
97406
|
+
scopeOrgId: "scope_org_id",
|
|
97355
97407
|
alertWebhookUrl: "alert_webhook_url"
|
|
97356
97408
|
});
|
|
97357
97409
|
});
|
|
@@ -106638,7 +106690,7 @@ var init_budgetsApiKeyEvents2 = __esm(() => {
|
|
|
106638
106690
|
name: "budgets-api-key-events",
|
|
106639
106691
|
description: `List apikey budget events
|
|
106640
106692
|
|
|
106641
|
-
Returns recent threshold-alert and block events for the scope's budgets.`,
|
|
106693
|
+
Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
106642
106694
|
args: args58,
|
|
106643
106695
|
tool: async (client, args59, ctx) => {
|
|
106644
106696
|
const [result, apiCall] = await budgetsApiKeyEvents(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -106756,7 +106808,7 @@ var init_budgetsDeleteApiKey2 = __esm(() => {
|
|
|
106756
106808
|
name: "budgets-delete-api-key",
|
|
106757
106809
|
description: `Delete a apikey budget
|
|
106758
106810
|
|
|
106759
|
-
Removes the apikey's budget for the given owner; enforcement and alerts stop.`,
|
|
106811
|
+
Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
106760
106812
|
args: args59,
|
|
106761
106813
|
tool: async (client, args60, ctx) => {
|
|
106762
106814
|
const [result, apiCall] = await budgetsDeleteApiKey(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -106988,7 +107040,7 @@ var init_budgetsGetApiKey2 = __esm(() => {
|
|
|
106988
107040
|
name: "budgets-get-api-key",
|
|
106989
107041
|
description: `List apikey budgets
|
|
106990
107042
|
|
|
106991
|
-
Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.`,
|
|
107043
|
+
Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
106992
107044
|
args: args61,
|
|
106993
107045
|
tool: async (client, args62, ctx) => {
|
|
106994
107046
|
const [result, apiCall] = await budgetsGetApiKey(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -107289,7 +107341,7 @@ var init_budgetsList2 = __esm(() => {
|
|
|
107289
107341
|
name: "budgets-list",
|
|
107290
107342
|
description: `List budgets
|
|
107291
107343
|
|
|
107292
|
-
Cluster admins see all budgets; org admins see their org's budgets.`,
|
|
107344
|
+
Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.`,
|
|
107293
107345
|
tool: async (client, ctx) => {
|
|
107294
107346
|
const [result, apiCall] = await budgetsList(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
107295
107347
|
if (!result.ok) {
|
|
@@ -107517,7 +107569,7 @@ var init_budgetsSetApiKey2 = __esm(() => {
|
|
|
107517
107569
|
name: "budgets-set-api-key",
|
|
107518
107570
|
description: `Set a apikey budget
|
|
107519
107571
|
|
|
107520
|
-
Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.`,
|
|
107572
|
+
Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
107521
107573
|
args: args64,
|
|
107522
107574
|
tool: async (client, args65, ctx) => {
|
|
107523
107575
|
const [result, apiCall] = await budgetsSetApiKey(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -139014,7 +139066,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
139014
139066
|
function createMCPServer(deps) {
|
|
139015
139067
|
const server = new McpServer({
|
|
139016
139068
|
name: "SDK",
|
|
139017
|
-
version: "0.48.
|
|
139069
|
+
version: "0.48.41"
|
|
139018
139070
|
});
|
|
139019
139071
|
const client = new SDKCore({
|
|
139020
139072
|
bearerAuth: deps.bearerAuth,
|
|
@@ -140878,7 +140930,7 @@ var routes = rn({
|
|
|
140878
140930
|
var app = Ve(routes, {
|
|
140879
140931
|
name: "mcp",
|
|
140880
140932
|
versionInfo: {
|
|
140881
|
-
currentVersion: "0.48.
|
|
140933
|
+
currentVersion: "0.48.41"
|
|
140882
140934
|
}
|
|
140883
140935
|
});
|
|
140884
140936
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -140886,5 +140938,5 @@ export {
|
|
|
140886
140938
|
app
|
|
140887
140939
|
};
|
|
140888
140940
|
|
|
140889
|
-
//# debugId=
|
|
140941
|
+
//# debugId=7C5AAFE5739D3C5F64756E2164756E21
|
|
140890
140942
|
//# sourceMappingURL=mcp-server.js.map
|