samva 0.46.1 → 0.48.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/AGENTS.md +13 -7
- package/README.md +106 -8
- package/dist/agent/index.d.ts +57 -0
- package/dist/agent/index.js +53 -0
- package/dist/agent/runtime.d.ts +3 -0
- package/dist/agent/runtime.js +95 -0
- package/dist/agent/test.d.ts +31 -0
- package/dist/agent/test.js +66 -0
- package/dist/agent/types.d.ts +150 -0
- package/dist/client/sdk.gen.d.ts +50 -165
- package/dist/client/sdk.gen.js +1339 -1614
- package/dist/client/types.gen.d.ts +461 -989
- package/dist/effect/agents.d.ts +340 -8
- package/dist/effect/agents.js +4 -2
- package/dist/effect/api-keys.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +160 -160
- package/dist/effect/contacts.d.ts +8 -0
- package/dist/effect/contacts.js +5 -1
- package/dist/effect/descriptors/agents.d.ts +12 -2
- package/dist/effect/descriptors/agents.js +12 -2
- package/dist/effect/descriptors/contacts.d.ts +20 -0
- package/dist/effect/descriptors/contacts.js +20 -0
- package/dist/effect/generated/accounts.d.ts +10 -0
- package/dist/effect/generated/accounts.js +1 -0
- package/dist/effect/generated/agents.d.ts +2967 -690
- package/dist/effect/generated/agents.js +54 -13
- package/dist/effect/generated/api-keys.d.ts +15 -0
- package/dist/effect/generated/api-keys.js +2 -0
- package/dist/effect/generated/contacts.d.ts +859 -1
- package/dist/effect/generated/contacts.js +62 -3
- package/dist/effect/generated/index.d.ts +1 -5
- package/dist/effect/generated/journeys.d.ts +351 -111
- package/dist/effect/generated/journeys.js +3 -1
- package/dist/effect/generated/mailboxes.d.ts +93 -95
- package/dist/effect/generated/mailboxes.js +21 -25
- package/dist/effect/generated/shared.d.ts +459 -139
- package/dist/effect/generated/shared.js +84 -39
- package/dist/effect/generated/template-registrations.d.ts +19 -4
- package/dist/effect/generated/template-registrations.js +8 -7
- package/dist/effect/generated/templates.d.ts +76 -11
- package/dist/effect/generated/templates.js +25 -12
- package/dist/effect/generated-metadata.d.ts +18 -84
- package/dist/effect/generated-metadata.js +362 -415
- package/dist/effect/index.d.ts +0 -2
- package/dist/effect/index.js +1 -3
- package/dist/effect/internal/client.js +1 -1
- package/dist/effect/internal/operation.js +4 -1
- package/dist/effect/journeys.d.ts +26 -2
- package/dist/effect/mailboxes.d.ts +41 -41
- package/dist/effect/scheduled-messages.d.ts +350 -350
- package/dist/effect/templates.d.ts +9 -0
- package/dist/effect/topics.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +1 -5
- package/dist/promises/client.js +3 -7
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +18 -75
- package/package.json +10 -22
- package/dist/effect/descriptors/extension-installations.d.ts +0 -90
- package/dist/effect/descriptors/extension-installations.js +0 -90
- package/dist/effect/descriptors/extensions.d.ts +0 -50
- package/dist/effect/descriptors/extensions.js +0 -50
- package/dist/effect/extension-installations.d.ts +0 -132
- package/dist/effect/extension-installations.js +0 -29
- package/dist/effect/extensions.d.ts +0 -102
- package/dist/effect/extensions.js +0 -21
- package/dist/effect/generated/extension-installations.d.ts +0 -2761
- package/dist/effect/generated/extension-installations.js +0 -405
- package/dist/effect/generated/extensions.d.ts +0 -1037
- package/dist/effect/generated/extensions.js +0 -214
- package/dist/mailbox/dispatch.d.ts +0 -10
- package/dist/mailbox/dispatch.js +0 -66
- package/dist/mailbox/index.d.ts +0 -17
- package/dist/mailbox/index.js +0 -30
- package/dist/mailbox/test.d.ts +0 -25
- package/dist/mailbox/test.js +0 -181
- package/dist/mailbox/types.d.ts +0 -221
- package/dist/mailbox/webhook.d.ts +0 -10
- package/dist/mailbox/webhook.js +0 -41
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentDefinition, AgentId, AgentModel, AgentModelChoice, AgentName, AgentReasoning, AgentSetupJob, ApiKeySecurityMiddleware, CatalogModelId, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, MonthlySpendCapDollars, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
1
|
+
import { AgentDefinition, AgentId, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentName, AgentReasoning, AgentSetupJob, ApiKeySecurityMiddleware, CatalogModelId, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, MonthlySpendCapDollars, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
// src/effect/generated/agents.ts
|
|
@@ -45,11 +45,6 @@ const DeleteAgentResponse = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
45
45
|
id: AgentId,
|
|
46
46
|
deleted: Schema.Literal(true)
|
|
47
47
|
}).annotate({ identifier: "DeleteAgentResponse" }))();
|
|
48
|
-
const AgentVersionSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
49
|
-
agentId: AgentId,
|
|
50
|
-
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
51
|
-
publishedAt: Schema.String
|
|
52
|
-
}).annotate({ identifier: "AgentVersionSummary" }))();
|
|
53
48
|
const AgentListItem = /* @__PURE__ */ (() => Schema.Struct({
|
|
54
49
|
id: AgentId,
|
|
55
50
|
name: Schema.String,
|
|
@@ -79,10 +74,6 @@ const AgentTestRerun = /* @__PURE__ */ (() => Schema.Struct({ items: Schema.Arra
|
|
|
79
74
|
draftDecisions: Schema.Array(AgentTestDecision).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
80
75
|
changedDecisions: Schema.Array(AgentTestDecision).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" }))
|
|
81
76
|
})) }).annotate({ identifier: "AgentTestRerun" }))();
|
|
82
|
-
const AgentVersionPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
83
|
-
items: Schema.Array(AgentVersionSummary),
|
|
84
|
-
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
85
|
-
}).annotate({ identifier: "AgentVersionPage" }))();
|
|
86
77
|
const AgentPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
87
78
|
items: Schema.Array(AgentListItem),
|
|
88
79
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -121,18 +112,36 @@ const Agent = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
121
112
|
createdAt: Schema.String,
|
|
122
113
|
updatedAt: Schema.String
|
|
123
114
|
}).annotate({ identifier: "Agent" }))();
|
|
115
|
+
const AgentBundle = /* @__PURE__ */ (() => Schema.Struct({
|
|
116
|
+
sha256: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
117
|
+
sizeBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(1048576).annotate({ expected: "a value less than or equal to 1048576" })),
|
|
118
|
+
manifest: AgentModuleManifest
|
|
119
|
+
}).annotate({ identifier: "AgentBundle" }))();
|
|
124
120
|
const AgentVersion = /* @__PURE__ */ (() => Schema.Struct({
|
|
125
121
|
agentId: AgentId,
|
|
126
122
|
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
127
123
|
definition: AgentDefinition,
|
|
124
|
+
bundle: AgentBundle,
|
|
125
|
+
authoring: Schema.Union([Schema.Literal("builder"), Schema.Literal("code")]),
|
|
128
126
|
publishedAt: Schema.String,
|
|
129
127
|
modelFallback: Schema.Union([AgentModelFallback, Schema.Null])
|
|
130
128
|
}).annotate({ identifier: "AgentVersion" }))();
|
|
129
|
+
const AgentVersionSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
130
|
+
agentId: AgentId,
|
|
131
|
+
version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
132
|
+
bundle: AgentBundle,
|
|
133
|
+
authoring: Schema.Union([Schema.Literal("builder"), Schema.Literal("code")]),
|
|
134
|
+
publishedAt: Schema.String
|
|
135
|
+
}).annotate({ identifier: "AgentVersionSummary" }))();
|
|
131
136
|
const PublishAgentResponse = /* @__PURE__ */ (() => Schema.Struct({
|
|
132
137
|
agent: Agent,
|
|
133
138
|
version: AgentVersion,
|
|
134
139
|
published: Schema.Boolean
|
|
135
140
|
}).annotate({ identifier: "PublishAgentResponse" }))();
|
|
141
|
+
const AgentVersionPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
142
|
+
items: Schema.Array(AgentVersionSummary),
|
|
143
|
+
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
144
|
+
}).annotate({ identifier: "AgentVersionPage" }))();
|
|
136
145
|
const AgentsListQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
137
146
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
138
147
|
cursor: Schema.optionalKey(Schema.String),
|
|
@@ -253,6 +262,7 @@ const AgentsPublishRequestJson = /* @__PURE__ */ (() => Schema.Struct({ revision
|
|
|
253
262
|
const AgentsPublish200 = PublishAgentResponse;
|
|
254
263
|
const AgentsPublish400 = MalformedRequestError;
|
|
255
264
|
const AgentsPublish401 = UnauthorizedError;
|
|
265
|
+
const AgentsPublish402 = PaymentRequiredError;
|
|
256
266
|
const AgentsPublish403 = ForbiddenError;
|
|
257
267
|
const AgentsPublish404 = ResourceNotFoundError;
|
|
258
268
|
const AgentsPublish409 = ConflictError;
|
|
@@ -285,6 +295,21 @@ const AgentsListVersions404 = ResourceNotFoundError;
|
|
|
285
295
|
const AgentsListVersions422 = ValidationError;
|
|
286
296
|
const AgentsListVersions500 = InternalError;
|
|
287
297
|
const AgentsListVersions504 = GatewayTimeoutError;
|
|
298
|
+
const AgentsPublishVersionPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: AgentId }))();
|
|
299
|
+
const AgentsPublishVersionRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
300
|
+
revision: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
301
|
+
bundle: AgentModuleBundle
|
|
302
|
+
}))();
|
|
303
|
+
const AgentsPublishVersion200 = PublishAgentResponse;
|
|
304
|
+
const AgentsPublishVersion400 = MalformedRequestError;
|
|
305
|
+
const AgentsPublishVersion401 = UnauthorizedError;
|
|
306
|
+
const AgentsPublishVersion402 = PaymentRequiredError;
|
|
307
|
+
const AgentsPublishVersion403 = ForbiddenError;
|
|
308
|
+
const AgentsPublishVersion404 = ResourceNotFoundError;
|
|
309
|
+
const AgentsPublishVersion409 = ConflictError;
|
|
310
|
+
const AgentsPublishVersion422 = ValidationError;
|
|
311
|
+
const AgentsPublishVersion500 = InternalError;
|
|
312
|
+
const AgentsPublishVersion504 = GatewayTimeoutError;
|
|
288
313
|
const AgentsGetVersionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
289
314
|
id: AgentId,
|
|
290
315
|
version: Schema.String
|
|
@@ -400,6 +425,7 @@ var AgentsGroup = class extends HttpApiGroup.make("Agents").add(HttpApiEndpoint.
|
|
|
400
425
|
error: [
|
|
401
426
|
AgentsPublish400.pipe(HttpApiSchema.status(400)),
|
|
402
427
|
AgentsPublish401.pipe(HttpApiSchema.status(401)),
|
|
428
|
+
AgentsPublish402.pipe(HttpApiSchema.status(402)),
|
|
403
429
|
AgentsPublish403.pipe(HttpApiSchema.status(403)),
|
|
404
430
|
AgentsPublish404.pipe(HttpApiSchema.status(404)),
|
|
405
431
|
AgentsPublish409.pipe(HttpApiSchema.status(409)),
|
|
@@ -433,7 +459,22 @@ var AgentsGroup = class extends HttpApiGroup.make("Agents").add(HttpApiEndpoint.
|
|
|
433
459
|
AgentsListVersions500,
|
|
434
460
|
AgentsListVersions504.pipe(HttpApiSchema.status(504))
|
|
435
461
|
]
|
|
436
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.listVersions").annotate(OpenApi.Summary, "List published agent versions").annotate(OpenApi.Description, "Returns an agent's published versions, newest first, without their definitions. Pass nextCursor back as cursor for the next page."), HttpApiEndpoint.
|
|
462
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.listVersions").annotate(OpenApi.Summary, "List published agent versions").annotate(OpenApi.Description, "Returns an agent's published versions, newest first, without their definitions. Pass nextCursor back as cursor for the next page."), HttpApiEndpoint.post("agentsPublishVersion", "/v1/agents/:id/versions", {
|
|
463
|
+
params: AgentsPublishVersionPathParams,
|
|
464
|
+
payload: AgentsPublishVersionRequestJson,
|
|
465
|
+
success: AgentsPublishVersion200,
|
|
466
|
+
error: [
|
|
467
|
+
AgentsPublishVersion400.pipe(HttpApiSchema.status(400)),
|
|
468
|
+
AgentsPublishVersion401.pipe(HttpApiSchema.status(401)),
|
|
469
|
+
AgentsPublishVersion402.pipe(HttpApiSchema.status(402)),
|
|
470
|
+
AgentsPublishVersion403.pipe(HttpApiSchema.status(403)),
|
|
471
|
+
AgentsPublishVersion404.pipe(HttpApiSchema.status(404)),
|
|
472
|
+
AgentsPublishVersion409.pipe(HttpApiSchema.status(409)),
|
|
473
|
+
AgentsPublishVersion422.pipe(HttpApiSchema.status(422)),
|
|
474
|
+
AgentsPublishVersion500,
|
|
475
|
+
AgentsPublishVersion504.pipe(HttpApiSchema.status(504))
|
|
476
|
+
]
|
|
477
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.publishVersion").annotate(OpenApi.Summary, "Publish an agent module").annotate(OpenApi.Description, "Publishes a self-contained JavaScript module and its manifest as the next immutable version. Source is stored by its SHA-256 digest without execution. The revision protects the draft read by the publisher; a stale revision returns 409. Publishing the same manifest, source, and definition again returns published false. The manifest controls the model, endpoints, integration grants, and action policy. Draft instructions and knowledge remain editable builder data; the hosted runtime reads instructions and tools from the published module."), HttpApiEndpoint.get("agentsGetVersion", "/v1/agents/:id/versions/:version", {
|
|
437
478
|
params: AgentsGetVersionPathParams,
|
|
438
479
|
success: AgentsGetVersion200,
|
|
439
480
|
error: [
|
|
@@ -445,7 +486,7 @@ var AgentsGroup = class extends HttpApiGroup.make("Agents").add(HttpApiEndpoint.
|
|
|
445
486
|
AgentsGetVersion500,
|
|
446
487
|
AgentsGetVersion504.pipe(HttpApiSchema.status(504))
|
|
447
488
|
]
|
|
448
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.getVersion").annotate(OpenApi.Summary, "Get a published agent version").annotate(OpenApi.Description, "Returns the immutable definition of one published version."), HttpApiEndpoint.get("agentsListModels", "/v1/agents/models", {
|
|
489
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.getVersion").annotate(OpenApi.Summary, "Get a published agent version").annotate(OpenApi.Description, "Returns the immutable definition and bundle digest, size, and manifest of one published version."), HttpApiEndpoint.get("agentsListModels", "/v1/agents/models", {
|
|
449
490
|
success: AgentsListModels200,
|
|
450
491
|
error: [
|
|
451
492
|
AgentsListModels400.pipe(HttpApiSchema.status(400)),
|
|
@@ -456,6 +497,6 @@ var AgentsGroup = class extends HttpApiGroup.make("Agents").add(HttpApiEndpoint.
|
|
|
456
497
|
AgentsListModels504.pipe(HttpApiSchema.status(504))
|
|
457
498
|
]
|
|
458
499
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.listModels").annotate(OpenApi.Summary, "List agent models").annotate(OpenApi.Description, "Returns the models an agent can run on: the standard and max aliases, each with the model it points at today, then every catalog model an agent can pin. Each entry has its price per million tokens, the reasoning levels it accepts with an estimate of a typical reply at each, and whether your plan includes it. Pinning a catalog model needs the Growth or Scale plan.")).annotate(OpenApi.Description, "Agents that answer conversations on your mailbox endpoints, with a draft, published versions, and rules for action review, hours, and staff takeover") {};
|
|
459
|
-
export { Agent, AgentListItem, AgentModelAccess, AgentModelCatalog, AgentModelFallback, AgentModelOption, AgentModelPrice, AgentModelReasoning, AgentPage, AgentSpend, AgentTestDecision, AgentTestId, AgentTestRerun, AgentVersion, AgentVersionPage, AgentVersionSummary, AgentsContinueOnStandard200, AgentsContinueOnStandard400, AgentsContinueOnStandard401, AgentsContinueOnStandard403, AgentsContinueOnStandard404, AgentsContinueOnStandard409, AgentsContinueOnStandard422, AgentsContinueOnStandard500, AgentsContinueOnStandard504, AgentsContinueOnStandardPathParams, AgentsCreate201, AgentsCreate400, AgentsCreate401, AgentsCreate402, AgentsCreate403, AgentsCreate404, AgentsCreate422, AgentsCreate500, AgentsCreate504, AgentsCreateRequestJson, AgentsGet200, AgentsGet400, AgentsGet401, AgentsGet403, AgentsGet404, AgentsGet422, AgentsGet500, AgentsGet504, AgentsGetPathParams, AgentsGetVersion200, AgentsGetVersion400, AgentsGetVersion401, AgentsGetVersion403, AgentsGetVersion404, AgentsGetVersion422, AgentsGetVersion500, AgentsGetVersion504, AgentsGetVersionPathParams, AgentsGroup, AgentsList200, AgentsList400, AgentsList401, AgentsList403, AgentsList422, AgentsList500, AgentsList504, AgentsListModels200, AgentsListModels400, AgentsListModels401, AgentsListModels403, AgentsListModels422, AgentsListModels500, AgentsListModels504, AgentsListQuery, AgentsListVersions200, AgentsListVersions400, AgentsListVersions401, AgentsListVersions403, AgentsListVersions404, AgentsListVersions422, AgentsListVersions500, AgentsListVersions504, AgentsListVersionsPathParams, AgentsListVersionsQuery, AgentsPublish200, AgentsPublish400, AgentsPublish401, AgentsPublish403, AgentsPublish404, AgentsPublish409, AgentsPublish422, AgentsPublish500, AgentsPublish504, AgentsPublishPathParams, AgentsPublishRequestJson, AgentsRemove200, AgentsRemove400, AgentsRemove401, AgentsRemove403, AgentsRemove404, AgentsRemove422, AgentsRemove500, AgentsRemove504, AgentsRemovePathParams, AgentsReplaceDraft200, AgentsReplaceDraft400, AgentsReplaceDraft401, AgentsReplaceDraft402, AgentsReplaceDraft403, AgentsReplaceDraft404, AgentsReplaceDraft409, AgentsReplaceDraft422, AgentsReplaceDraft500, AgentsReplaceDraft504, AgentsReplaceDraftPathParams, AgentsReplaceDraftRequestJson, AgentsRerunTests200, AgentsRerunTests400, AgentsRerunTests401, AgentsRerunTests403, AgentsRerunTests404, AgentsRerunTests422, AgentsRerunTests500, AgentsRerunTests504, AgentsRerunTestsPathParams, AgentsRerunTestsRequestJson, AgentsUpdate200, AgentsUpdate400, AgentsUpdate401, AgentsUpdate403, AgentsUpdate404, AgentsUpdate422, AgentsUpdate500, AgentsUpdate504, AgentsUpdatePathParams, AgentsUpdateRequestJson, DeleteAgentResponse, ModelFallbackReason, PublishAgentResponse };
|
|
500
|
+
export { Agent, AgentBundle, AgentListItem, AgentModelAccess, AgentModelCatalog, AgentModelFallback, AgentModelOption, AgentModelPrice, AgentModelReasoning, AgentPage, AgentSpend, AgentTestDecision, AgentTestId, AgentTestRerun, AgentVersion, AgentVersionPage, AgentVersionSummary, AgentsContinueOnStandard200, AgentsContinueOnStandard400, AgentsContinueOnStandard401, AgentsContinueOnStandard403, AgentsContinueOnStandard404, AgentsContinueOnStandard409, AgentsContinueOnStandard422, AgentsContinueOnStandard500, AgentsContinueOnStandard504, AgentsContinueOnStandardPathParams, AgentsCreate201, AgentsCreate400, AgentsCreate401, AgentsCreate402, AgentsCreate403, AgentsCreate404, AgentsCreate422, AgentsCreate500, AgentsCreate504, AgentsCreateRequestJson, AgentsGet200, AgentsGet400, AgentsGet401, AgentsGet403, AgentsGet404, AgentsGet422, AgentsGet500, AgentsGet504, AgentsGetPathParams, AgentsGetVersion200, AgentsGetVersion400, AgentsGetVersion401, AgentsGetVersion403, AgentsGetVersion404, AgentsGetVersion422, AgentsGetVersion500, AgentsGetVersion504, AgentsGetVersionPathParams, AgentsGroup, AgentsList200, AgentsList400, AgentsList401, AgentsList403, AgentsList422, AgentsList500, AgentsList504, AgentsListModels200, AgentsListModels400, AgentsListModels401, AgentsListModels403, AgentsListModels422, AgentsListModels500, AgentsListModels504, AgentsListQuery, AgentsListVersions200, AgentsListVersions400, AgentsListVersions401, AgentsListVersions403, AgentsListVersions404, AgentsListVersions422, AgentsListVersions500, AgentsListVersions504, AgentsListVersionsPathParams, AgentsListVersionsQuery, AgentsPublish200, AgentsPublish400, AgentsPublish401, AgentsPublish402, AgentsPublish403, AgentsPublish404, AgentsPublish409, AgentsPublish422, AgentsPublish500, AgentsPublish504, AgentsPublishPathParams, AgentsPublishRequestJson, AgentsPublishVersion200, AgentsPublishVersion400, AgentsPublishVersion401, AgentsPublishVersion402, AgentsPublishVersion403, AgentsPublishVersion404, AgentsPublishVersion409, AgentsPublishVersion422, AgentsPublishVersion500, AgentsPublishVersion504, AgentsPublishVersionPathParams, AgentsPublishVersionRequestJson, AgentsRemove200, AgentsRemove400, AgentsRemove401, AgentsRemove403, AgentsRemove404, AgentsRemove422, AgentsRemove500, AgentsRemove504, AgentsRemovePathParams, AgentsReplaceDraft200, AgentsReplaceDraft400, AgentsReplaceDraft401, AgentsReplaceDraft402, AgentsReplaceDraft403, AgentsReplaceDraft404, AgentsReplaceDraft409, AgentsReplaceDraft422, AgentsReplaceDraft500, AgentsReplaceDraft504, AgentsReplaceDraftPathParams, AgentsReplaceDraftRequestJson, AgentsRerunTests200, AgentsRerunTests400, AgentsRerunTests401, AgentsRerunTests403, AgentsRerunTests404, AgentsRerunTests422, AgentsRerunTests500, AgentsRerunTests504, AgentsRerunTestsPathParams, AgentsRerunTestsRequestJson, AgentsUpdate200, AgentsUpdate400, AgentsUpdate401, AgentsUpdate403, AgentsUpdate404, AgentsUpdate422, AgentsUpdate500, AgentsUpdate504, AgentsUpdatePathParams, AgentsUpdateRequestJson, DeleteAgentResponse, ModelFallbackReason, PublishAgentResponse };
|
|
460
501
|
|
|
461
502
|
//# sourceMappingURL=agents.js.map
|
|
@@ -40,6 +40,7 @@ export type ApiKey = {
|
|
|
40
40
|
readonly start: string | null;
|
|
41
41
|
readonly end: string | null;
|
|
42
42
|
readonly description?: string | null;
|
|
43
|
+
readonly source?: string | null;
|
|
43
44
|
readonly createdAt: string;
|
|
44
45
|
readonly expiresAt: string | null;
|
|
45
46
|
readonly lastUsedAt: string | null;
|
|
@@ -54,6 +55,7 @@ export declare const ApiKey: Schema.Struct<{
|
|
|
54
55
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
55
56
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
56
57
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
58
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
57
59
|
readonly createdAt: Schema.String;
|
|
58
60
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
59
61
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -99,6 +101,7 @@ export type ApiKeyWithSecret = {
|
|
|
99
101
|
readonly start: string | null;
|
|
100
102
|
readonly end: string | null;
|
|
101
103
|
readonly description?: string | null;
|
|
104
|
+
readonly source?: string | null;
|
|
102
105
|
readonly createdAt: string;
|
|
103
106
|
readonly expiresAt: string | null;
|
|
104
107
|
readonly lastUsedAt: string | null;
|
|
@@ -113,6 +116,7 @@ export declare const ApiKeyWithSecret: Schema.Struct<{
|
|
|
113
116
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
114
117
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
115
118
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
119
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
116
120
|
readonly createdAt: Schema.String;
|
|
117
121
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
118
122
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -163,6 +167,7 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
163
167
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
164
168
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
165
169
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
170
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
166
171
|
readonly createdAt: Schema.String;
|
|
167
172
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
168
173
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -226,6 +231,7 @@ export declare const ApiKeysList200: Schema.Struct<{
|
|
|
226
231
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
227
232
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
228
233
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
234
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
229
235
|
readonly createdAt: Schema.String;
|
|
230
236
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
231
237
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -325,6 +331,7 @@ export declare const ApiKeysCreate201: Schema.Struct<{
|
|
|
325
331
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
326
332
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
327
333
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
334
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
328
335
|
readonly createdAt: Schema.String;
|
|
329
336
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
330
337
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -397,6 +404,7 @@ export declare const ApiKeysGet200: Schema.Struct<{
|
|
|
397
404
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
398
405
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
399
406
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
407
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
400
408
|
readonly createdAt: Schema.String;
|
|
401
409
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
402
410
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -471,6 +479,7 @@ export declare const ApiKeysUpdate200: Schema.Struct<{
|
|
|
471
479
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
472
480
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
473
481
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
482
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
474
483
|
readonly createdAt: Schema.String;
|
|
475
484
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
476
485
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -603,6 +612,7 @@ export declare const ApiKeysRotate200: Schema.Struct<{
|
|
|
603
612
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
604
613
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
605
614
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
615
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
606
616
|
readonly createdAt: Schema.String;
|
|
607
617
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
608
618
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -740,6 +750,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
740
750
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
741
751
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
742
752
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
753
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
743
754
|
readonly createdAt: Schema.String;
|
|
744
755
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
745
756
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -938,6 +949,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
938
949
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
939
950
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
940
951
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
952
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
941
953
|
readonly createdAt: Schema.String;
|
|
942
954
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
943
955
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1317,6 +1329,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1317
1329
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1318
1330
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1319
1331
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1332
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1320
1333
|
readonly createdAt: Schema.String;
|
|
1321
1334
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1322
1335
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1561,6 +1574,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1561
1574
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1562
1575
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1563
1576
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1577
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1564
1578
|
readonly createdAt: Schema.String;
|
|
1565
1579
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1566
1580
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1710,6 +1724,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1710
1724
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1711
1725
|
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1712
1726
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1727
|
+
readonly source: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1713
1728
|
readonly createdAt: Schema.String;
|
|
1714
1729
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1715
1730
|
readonly lastUsedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -26,6 +26,7 @@ const ApiKey = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
26
26
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
27
27
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
28
28
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
29
|
+
source: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
29
30
|
createdAt: Schema.String,
|
|
30
31
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
31
32
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -40,6 +41,7 @@ const ApiKeyWithSecret = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
40
41
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
41
42
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
42
43
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
44
|
+
source: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
43
45
|
createdAt: Schema.String,
|
|
44
46
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
45
47
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|