@vellumai/plugin-api 0.10.11-dev.202607232127.588d325 → 0.10.11-dev.202607232203.0135de5
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/index.d.ts +20 -89
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3261,22 +3261,6 @@ declare interface ImageEmbeddingInput {
|
|
|
3261
3261
|
mimeType: string;
|
|
3262
3262
|
}
|
|
3263
3263
|
|
|
3264
|
-
declare interface IngressConfigResponse {
|
|
3265
|
-
type: "ingress_config_response";
|
|
3266
|
-
enabled: boolean;
|
|
3267
|
-
publicBaseUrl: string;
|
|
3268
|
-
/** Read-only gateway target computed from GATEWAY_PORT env var (default 7830) + loopback host. */
|
|
3269
|
-
localGatewayTarget: string;
|
|
3270
|
-
/**
|
|
3271
|
-
* When true, this assistant uses platform-managed callback routing.
|
|
3272
|
-
* Webhook delivery is handled by the platform — no local tunnel or
|
|
3273
|
-
* ngrok setup is needed. `publicBaseUrl` reflects the platform callback URL.
|
|
3274
|
-
*/
|
|
3275
|
-
managedCallbacks?: boolean;
|
|
3276
|
-
success: boolean;
|
|
3277
|
-
error?: string;
|
|
3278
|
-
}
|
|
3279
|
-
|
|
3280
3264
|
/**
|
|
3281
3265
|
* Context passed to `Plugin.init()` during bootstrap. Carries the resolved
|
|
3282
3266
|
* config, a pino-compatible logger scoped to the plugin, a per-plugin
|
|
@@ -3320,29 +3304,7 @@ declare interface InsertedMessage {
|
|
|
3320
3304
|
deduplicated: boolean;
|
|
3321
3305
|
}
|
|
3322
3306
|
|
|
3323
|
-
declare
|
|
3324
|
-
type: "integration_connect_result";
|
|
3325
|
-
integrationId: string;
|
|
3326
|
-
success: boolean;
|
|
3327
|
-
accountInfo?: string | null;
|
|
3328
|
-
error?: string | null;
|
|
3329
|
-
setupRequired?: boolean;
|
|
3330
|
-
setupHint?: string;
|
|
3331
|
-
}
|
|
3332
|
-
|
|
3333
|
-
declare interface IntegrationListResponse {
|
|
3334
|
-
type: "integration_list_response";
|
|
3335
|
-
integrations: Array<{
|
|
3336
|
-
id: string;
|
|
3337
|
-
connected: boolean;
|
|
3338
|
-
accountInfo?: string | null;
|
|
3339
|
-
connectedAt?: number | null;
|
|
3340
|
-
lastUsed?: number | null;
|
|
3341
|
-
error?: string | null;
|
|
3342
|
-
}>;
|
|
3343
|
-
}
|
|
3344
|
-
|
|
3345
|
-
declare type _IntegrationsServerMessages = SlackWebhookConfigResponse | IngressConfigResponse | PlatformConfigResponse | VercelApiConfigResponse | TelegramConfigResponse | ChannelVerificationSessionResponse | IntegrationListResponse | IntegrationConnectResult | OAuthConnectResultResponse | OpenUrlEvent | OpenPanelEvent | NavigateSettingsEvent | ShowPlatformLogin | PlatformDisconnected;
|
|
3307
|
+
declare type _IntegrationsServerMessages = ChannelVerificationSessionResponse | OAuthConnectResultEvent | OpenUrlEvent | OpenPanelEvent | NavigateSettingsEvent | ShowPlatformLoginEvent | PlatformDisconnectedEvent;
|
|
3346
3308
|
|
|
3347
3309
|
declare type InteractionResolvedEvent = z.infer<typeof InteractionResolvedEventSchema>;
|
|
3348
3310
|
|
|
@@ -4081,14 +4043,16 @@ declare const NotificationIntentEventSchema: z.ZodObject<{
|
|
|
4081
4043
|
|
|
4082
4044
|
declare type _NotificationsServerMessages = NotificationIntentEvent | NotificationConversationCreatedEvent;
|
|
4083
4045
|
|
|
4084
|
-
declare
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4046
|
+
declare type OAuthConnectResultEvent = z.infer<typeof OAuthConnectResultEventSchema>;
|
|
4047
|
+
|
|
4048
|
+
declare const OAuthConnectResultEventSchema: z.ZodObject<{
|
|
4049
|
+
type: z.ZodLiteral<"oauth_connect_result">;
|
|
4050
|
+
success: z.ZodBoolean;
|
|
4051
|
+
service: z.ZodOptional<z.ZodString>;
|
|
4052
|
+
grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4053
|
+
accountInfo: z.ZodOptional<z.ZodString>;
|
|
4054
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4055
|
+
}, z.core.$strip>;
|
|
4092
4056
|
|
|
4093
4057
|
declare type OAuthConnectSurfaceData = z.infer<typeof OAuthConnectSurfaceDataSchema>;
|
|
4094
4058
|
|
|
@@ -4188,16 +4152,11 @@ export declare function parseMessageMetadata(metadataJson: string | null): Promi
|
|
|
4188
4152
|
*/
|
|
4189
4153
|
declare function parseMessageMetadata_2(metadataJson: string | null): MessageMetadata_2 | undefined;
|
|
4190
4154
|
|
|
4191
|
-
declare
|
|
4192
|
-
type: "platform_config_response";
|
|
4193
|
-
baseUrl: string;
|
|
4194
|
-
success: boolean;
|
|
4195
|
-
error?: string;
|
|
4196
|
-
}
|
|
4155
|
+
declare type PlatformDisconnectedEvent = z.infer<typeof PlatformDisconnectedEventSchema>;
|
|
4197
4156
|
|
|
4198
|
-
declare
|
|
4199
|
-
type: "platform_disconnected"
|
|
4200
|
-
}
|
|
4157
|
+
declare const PlatformDisconnectedEventSchema: z.ZodObject<{
|
|
4158
|
+
type: z.ZodLiteral<"platform_disconnected">;
|
|
4159
|
+
}, z.core.$strip>;
|
|
4201
4160
|
|
|
4202
4161
|
/**
|
|
4203
4162
|
* The subset of {@link AssistantEventHub} workspace plugins may use. Picking
|
|
@@ -5322,9 +5281,11 @@ declare interface SharedAppsListResponse {
|
|
|
5322
5281
|
}>;
|
|
5323
5282
|
}
|
|
5324
5283
|
|
|
5325
|
-
declare
|
|
5326
|
-
|
|
5327
|
-
|
|
5284
|
+
declare type ShowPlatformLoginEvent = z.infer<typeof ShowPlatformLoginEventSchema>;
|
|
5285
|
+
|
|
5286
|
+
declare const ShowPlatformLoginEventSchema: z.ZodObject<{
|
|
5287
|
+
type: z.ZodLiteral<"show_platform_login">;
|
|
5288
|
+
}, z.core.$strip>;
|
|
5328
5289
|
|
|
5329
5290
|
/**
|
|
5330
5291
|
* Context passed to the `shutdown` hook. Kept intentionally narrower than
|
|
@@ -5417,13 +5378,6 @@ declare const SkillStateChangedEventSchema: z.ZodObject<{
|
|
|
5417
5378
|
}>;
|
|
5418
5379
|
}, z.core.$strip>;
|
|
5419
5380
|
|
|
5420
|
-
declare interface SlackWebhookConfigResponse {
|
|
5421
|
-
type: "slack_webhook_config_response";
|
|
5422
|
-
webhookUrl?: string;
|
|
5423
|
-
success: boolean;
|
|
5424
|
-
error?: string;
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
5381
|
declare type SoundsConfigUpdatedEvent = z.infer<typeof SoundsConfigUpdatedEventSchema>;
|
|
5428
5382
|
|
|
5429
5383
|
declare const SoundsConfigUpdatedEventSchema: z.ZodObject<{
|
|
@@ -5882,22 +5836,6 @@ declare const TableSurfaceDataSchema: z.ZodObject<{
|
|
|
5882
5836
|
caption: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
5883
5837
|
}, z.core.$strip>;
|
|
5884
5838
|
|
|
5885
|
-
declare interface TelegramConfigResponse {
|
|
5886
|
-
type: "telegram_config_response";
|
|
5887
|
-
success: boolean;
|
|
5888
|
-
hasBotToken: boolean;
|
|
5889
|
-
botId?: string;
|
|
5890
|
-
botUsername?: string;
|
|
5891
|
-
connected: boolean;
|
|
5892
|
-
hasWebhookSecret: boolean;
|
|
5893
|
-
lastError?: string;
|
|
5894
|
-
error?: string;
|
|
5895
|
-
/** Names of bot commands that were registered (present after set_commands or setup). */
|
|
5896
|
-
commandsRegistered?: string[];
|
|
5897
|
-
/** Non-fatal warning (e.g. commands registration failed during setup but token was configured). */
|
|
5898
|
-
warning?: string;
|
|
5899
|
-
}
|
|
5900
|
-
|
|
5901
5839
|
export declare interface TextContent {
|
|
5902
5840
|
type: "text";
|
|
5903
5841
|
text: string;
|
|
@@ -6861,13 +6799,6 @@ declare interface UserPromptSubmitInputContext {
|
|
|
6861
6799
|
latestMessages: Message[];
|
|
6862
6800
|
}
|
|
6863
6801
|
|
|
6864
|
-
declare interface VercelApiConfigResponse {
|
|
6865
|
-
type: "vercel_api_config_response";
|
|
6866
|
-
hasToken: boolean;
|
|
6867
|
-
success: boolean;
|
|
6868
|
-
error?: string;
|
|
6869
|
-
}
|
|
6870
|
-
|
|
6871
6802
|
declare interface VideoEmbeddingInput {
|
|
6872
6803
|
type: "video";
|
|
6873
6804
|
data: Buffer;
|
package/package.json
CHANGED