@automagik/omni 2.260603.4 → 2.260603.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -5
- package/dist/sdk/types.generated.d.ts +410 -16
- package/dist/sdk/types.generated.d.ts.map +1 -1
- package/dist/server/index.js +21 -21
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29849,7 +29849,7 @@ var init_instance = __esm(() => {
|
|
|
29849
29849
|
apiKey: exports_external.string().optional(),
|
|
29850
29850
|
schemaConfig: MetadataSchema.optional(),
|
|
29851
29851
|
defaultStream: exports_external.boolean().default(true),
|
|
29852
|
-
defaultTimeout: exports_external.number().int().positive().default(
|
|
29852
|
+
defaultTimeout: exports_external.number().int().positive().default(600),
|
|
29853
29853
|
supportsStreaming: exports_external.boolean().default(true),
|
|
29854
29854
|
supportsImages: exports_external.boolean().default(false),
|
|
29855
29855
|
supportsAudio: exports_external.boolean().default(false),
|
|
@@ -29905,7 +29905,7 @@ var init_instance = __esm(() => {
|
|
|
29905
29905
|
name: exports_external.string().max(255),
|
|
29906
29906
|
channel: ChannelTypeSchema,
|
|
29907
29907
|
agentId: exports_external.string().uuid().nullable().optional(),
|
|
29908
|
-
agentTimeout: exports_external.number().int().positive().default(
|
|
29908
|
+
agentTimeout: exports_external.number().int().positive().default(600),
|
|
29909
29909
|
agentStreamMode: exports_external.boolean().default(false),
|
|
29910
29910
|
isDefault: exports_external.boolean().default(false)
|
|
29911
29911
|
});
|
|
@@ -69400,7 +69400,7 @@ var init_schema2 = __esm(() => {
|
|
|
69400
69400
|
apiKey: text("api_key"),
|
|
69401
69401
|
schemaConfig: jsonb("schema_config").$type(),
|
|
69402
69402
|
defaultStream: boolean("default_stream").notNull().default(true),
|
|
69403
|
-
defaultTimeout: integer("default_timeout").notNull().default(
|
|
69403
|
+
defaultTimeout: integer("default_timeout").notNull().default(600),
|
|
69404
69404
|
supportsStreaming: boolean("supports_streaming").notNull().default(true),
|
|
69405
69405
|
supportsImages: boolean("supports_images").notNull().default(false),
|
|
69406
69406
|
supportsAudio: boolean("supports_audio").notNull().default(false),
|
|
@@ -69588,7 +69588,7 @@ var init_schema2 = __esm(() => {
|
|
|
69588
69588
|
twilioWebhookUrl: text("twilio_webhook_url"),
|
|
69589
69589
|
twilioValidateSignature: boolean("twilio_validate_signature").notNull().default(true),
|
|
69590
69590
|
agentId: uuid("agent_id").references(() => agents.id, { onDelete: "set null" }),
|
|
69591
|
-
agentTimeout: integer("agent_timeout").notNull().default(
|
|
69591
|
+
agentTimeout: integer("agent_timeout").notNull().default(600),
|
|
69592
69592
|
agentStreamMode: boolean("agent_stream_mode").notNull().default(false),
|
|
69593
69593
|
agentReplyFilter: jsonb("agent_reply_filter").$type(),
|
|
69594
69594
|
agentSessionStrategy: varchar("agent_session_strategy", { length: 20 }).notNull().default("per_chat").$type(),
|
|
@@ -124971,7 +124971,7 @@ import { fileURLToPath } from "url";
|
|
|
124971
124971
|
// package.json
|
|
124972
124972
|
var package_default = {
|
|
124973
124973
|
name: "@automagik/omni",
|
|
124974
|
-
version: "2.260603.
|
|
124974
|
+
version: "2.260603.6",
|
|
124975
124975
|
description: "LLM-optimized CLI for Omni",
|
|
124976
124976
|
type: "module",
|
|
124977
124977
|
bin: {
|
|
@@ -2071,6 +2071,86 @@ export interface paths {
|
|
|
2071
2071
|
patch?: never;
|
|
2072
2072
|
trace?: never;
|
|
2073
2073
|
};
|
|
2074
|
+
"/voice/join": {
|
|
2075
|
+
parameters: {
|
|
2076
|
+
query?: never;
|
|
2077
|
+
header?: never;
|
|
2078
|
+
path?: never;
|
|
2079
|
+
cookie?: never;
|
|
2080
|
+
};
|
|
2081
|
+
get?: never;
|
|
2082
|
+
put?: never;
|
|
2083
|
+
/**
|
|
2084
|
+
* Join a voice channel
|
|
2085
|
+
* @description Join a voice channel via a voice-capable channel plugin. Returns the created session.
|
|
2086
|
+
*/
|
|
2087
|
+
post: operations["voiceJoin"];
|
|
2088
|
+
delete?: never;
|
|
2089
|
+
options?: never;
|
|
2090
|
+
head?: never;
|
|
2091
|
+
patch?: never;
|
|
2092
|
+
trace?: never;
|
|
2093
|
+
};
|
|
2094
|
+
"/voice/leave": {
|
|
2095
|
+
parameters: {
|
|
2096
|
+
query?: never;
|
|
2097
|
+
header?: never;
|
|
2098
|
+
path?: never;
|
|
2099
|
+
cookie?: never;
|
|
2100
|
+
};
|
|
2101
|
+
get?: never;
|
|
2102
|
+
put?: never;
|
|
2103
|
+
/**
|
|
2104
|
+
* Leave a voice session
|
|
2105
|
+
* @description Leave an active voice session.
|
|
2106
|
+
*/
|
|
2107
|
+
post: operations["voiceLeave"];
|
|
2108
|
+
delete?: never;
|
|
2109
|
+
options?: never;
|
|
2110
|
+
head?: never;
|
|
2111
|
+
patch?: never;
|
|
2112
|
+
trace?: never;
|
|
2113
|
+
};
|
|
2114
|
+
"/voice/sessions": {
|
|
2115
|
+
parameters: {
|
|
2116
|
+
query?: never;
|
|
2117
|
+
header?: never;
|
|
2118
|
+
path?: never;
|
|
2119
|
+
cookie?: never;
|
|
2120
|
+
};
|
|
2121
|
+
/**
|
|
2122
|
+
* List active voice sessions
|
|
2123
|
+
* @description List all active voice sessions across voice-capable plugins.
|
|
2124
|
+
*/
|
|
2125
|
+
get: operations["listVoiceSessions"];
|
|
2126
|
+
put?: never;
|
|
2127
|
+
post?: never;
|
|
2128
|
+
delete?: never;
|
|
2129
|
+
options?: never;
|
|
2130
|
+
head?: never;
|
|
2131
|
+
patch?: never;
|
|
2132
|
+
trace?: never;
|
|
2133
|
+
};
|
|
2134
|
+
"/voice/sessions/{id}": {
|
|
2135
|
+
parameters: {
|
|
2136
|
+
query?: never;
|
|
2137
|
+
header?: never;
|
|
2138
|
+
path?: never;
|
|
2139
|
+
cookie?: never;
|
|
2140
|
+
};
|
|
2141
|
+
/**
|
|
2142
|
+
* Get voice session details
|
|
2143
|
+
* @description Get details of a specific voice session by ID.
|
|
2144
|
+
*/
|
|
2145
|
+
get: operations["getVoiceSession"];
|
|
2146
|
+
put?: never;
|
|
2147
|
+
post?: never;
|
|
2148
|
+
delete?: never;
|
|
2149
|
+
options?: never;
|
|
2150
|
+
head?: never;
|
|
2151
|
+
patch?: never;
|
|
2152
|
+
trace?: never;
|
|
2153
|
+
};
|
|
2074
2154
|
}
|
|
2075
2155
|
export type webhooks = Record<string, never>;
|
|
2076
2156
|
export interface components {
|
|
@@ -2117,6 +2197,10 @@ export interface components {
|
|
|
2117
2197
|
metadata: {
|
|
2118
2198
|
[key: string]: unknown;
|
|
2119
2199
|
} | null;
|
|
2200
|
+
/** @description A2A Agent Card overrides */
|
|
2201
|
+
agentCard: {
|
|
2202
|
+
[key: string]: unknown;
|
|
2203
|
+
} | null;
|
|
2120
2204
|
/**
|
|
2121
2205
|
* Format: date-time
|
|
2122
2206
|
* @description Creation timestamp
|
|
@@ -2175,6 +2259,10 @@ export interface components {
|
|
|
2175
2259
|
metadata?: {
|
|
2176
2260
|
[key: string]: unknown;
|
|
2177
2261
|
};
|
|
2262
|
+
/** @description A2A Agent Card overrides */
|
|
2263
|
+
agentCard?: {
|
|
2264
|
+
[key: string]: unknown;
|
|
2265
|
+
};
|
|
2178
2266
|
};
|
|
2179
2267
|
Error: {
|
|
2180
2268
|
error: {
|
|
@@ -2340,7 +2428,7 @@ export interface components {
|
|
|
2340
2428
|
* @description Channel type
|
|
2341
2429
|
* @enum {string}
|
|
2342
2430
|
*/
|
|
2343
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
2431
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
2344
2432
|
/** @description Whether instance is active */
|
|
2345
2433
|
isActive: boolean;
|
|
2346
2434
|
/** @description Whether this is the default instance for channel */
|
|
@@ -2383,7 +2471,7 @@ export interface components {
|
|
|
2383
2471
|
* @description Channel type
|
|
2384
2472
|
* @enum {string}
|
|
2385
2473
|
*/
|
|
2386
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
2474
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
2387
2475
|
/**
|
|
2388
2476
|
* Format: uuid
|
|
2389
2477
|
* @description Agent UUID (agents table)
|
|
@@ -2391,7 +2479,7 @@ export interface components {
|
|
|
2391
2479
|
agentId?: string | null;
|
|
2392
2480
|
/**
|
|
2393
2481
|
* @description Agent timeout in seconds
|
|
2394
|
-
* @default
|
|
2482
|
+
* @default 600
|
|
2395
2483
|
*/
|
|
2396
2484
|
agentTimeout: number;
|
|
2397
2485
|
/**
|
|
@@ -2478,7 +2566,7 @@ export interface components {
|
|
|
2478
2566
|
* @description Channel type ID
|
|
2479
2567
|
* @enum {string}
|
|
2480
2568
|
*/
|
|
2481
|
-
id: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
2569
|
+
id: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
2482
2570
|
/** @description Human-readable channel name */
|
|
2483
2571
|
name: string;
|
|
2484
2572
|
/** @description Plugin version */
|
|
@@ -3577,7 +3665,7 @@ export interface components {
|
|
|
3577
3665
|
defaultStream: boolean;
|
|
3578
3666
|
/**
|
|
3579
3667
|
* @description Default timeout
|
|
3580
|
-
* @default
|
|
3668
|
+
* @default 600
|
|
3581
3669
|
*/
|
|
3582
3670
|
defaultTimeout: number;
|
|
3583
3671
|
/**
|
|
@@ -4761,6 +4849,35 @@ export interface components {
|
|
|
4761
4849
|
/** @description Emit a 2–3s typing/presence indicator before firing on supported channels. */
|
|
4762
4850
|
showTypingIndicator: boolean;
|
|
4763
4851
|
};
|
|
4852
|
+
VoiceSession: {
|
|
4853
|
+
/** @description Voice session ID */
|
|
4854
|
+
sessionId: string;
|
|
4855
|
+
/** @description Channel instance ID */
|
|
4856
|
+
instanceId: string;
|
|
4857
|
+
/** @description Voice channel ID */
|
|
4858
|
+
channelId: string;
|
|
4859
|
+
/** @description Session state (e.g. connecting, ready, disconnected) */
|
|
4860
|
+
state: string;
|
|
4861
|
+
/** @description User IDs of current participants */
|
|
4862
|
+
participants: string[];
|
|
4863
|
+
/**
|
|
4864
|
+
* Format: date-time
|
|
4865
|
+
* @description Session creation timestamp
|
|
4866
|
+
*/
|
|
4867
|
+
createdAt?: string;
|
|
4868
|
+
};
|
|
4869
|
+
VoiceJoinRequest: {
|
|
4870
|
+
/** @description Channel instance ID */
|
|
4871
|
+
instanceId: string;
|
|
4872
|
+
/** @description Voice channel ID to join */
|
|
4873
|
+
channelId: string;
|
|
4874
|
+
/** @description Guild/server ID (required for Discord) */
|
|
4875
|
+
guildId?: string;
|
|
4876
|
+
};
|
|
4877
|
+
VoiceLeaveRequest: {
|
|
4878
|
+
/** @description Voice session ID to leave */
|
|
4879
|
+
sessionId: string;
|
|
4880
|
+
};
|
|
4764
4881
|
};
|
|
4765
4882
|
responses: never;
|
|
4766
4883
|
parameters: never;
|
|
@@ -4833,6 +4950,10 @@ export interface operations {
|
|
|
4833
4950
|
metadata: {
|
|
4834
4951
|
[key: string]: unknown;
|
|
4835
4952
|
} | null;
|
|
4953
|
+
/** @description A2A Agent Card overrides */
|
|
4954
|
+
agentCard: {
|
|
4955
|
+
[key: string]: unknown;
|
|
4956
|
+
} | null;
|
|
4836
4957
|
/**
|
|
4837
4958
|
* Format: date-time
|
|
4838
4959
|
* @description Creation timestamp
|
|
@@ -4905,6 +5026,10 @@ export interface operations {
|
|
|
4905
5026
|
metadata?: {
|
|
4906
5027
|
[key: string]: unknown;
|
|
4907
5028
|
};
|
|
5029
|
+
/** @description A2A Agent Card overrides */
|
|
5030
|
+
agentCard?: {
|
|
5031
|
+
[key: string]: unknown;
|
|
5032
|
+
};
|
|
4908
5033
|
};
|
|
4909
5034
|
};
|
|
4910
5035
|
};
|
|
@@ -4958,6 +5083,10 @@ export interface operations {
|
|
|
4958
5083
|
metadata: {
|
|
4959
5084
|
[key: string]: unknown;
|
|
4960
5085
|
} | null;
|
|
5086
|
+
/** @description A2A Agent Card overrides */
|
|
5087
|
+
agentCard: {
|
|
5088
|
+
[key: string]: unknown;
|
|
5089
|
+
} | null;
|
|
4961
5090
|
/**
|
|
4962
5091
|
* Format: date-time
|
|
4963
5092
|
* @description Creation timestamp
|
|
@@ -5055,6 +5184,10 @@ export interface operations {
|
|
|
5055
5184
|
metadata: {
|
|
5056
5185
|
[key: string]: unknown;
|
|
5057
5186
|
} | null;
|
|
5187
|
+
/** @description A2A Agent Card overrides */
|
|
5188
|
+
agentCard: {
|
|
5189
|
+
[key: string]: unknown;
|
|
5190
|
+
} | null;
|
|
5058
5191
|
/**
|
|
5059
5192
|
* Format: date-time
|
|
5060
5193
|
* @description Creation timestamp
|
|
@@ -5198,6 +5331,10 @@ export interface operations {
|
|
|
5198
5331
|
metadata?: {
|
|
5199
5332
|
[key: string]: unknown;
|
|
5200
5333
|
};
|
|
5334
|
+
/** @description A2A Agent Card overrides */
|
|
5335
|
+
agentCard?: {
|
|
5336
|
+
[key: string]: unknown;
|
|
5337
|
+
};
|
|
5201
5338
|
};
|
|
5202
5339
|
};
|
|
5203
5340
|
};
|
|
@@ -5251,6 +5388,10 @@ export interface operations {
|
|
|
5251
5388
|
metadata: {
|
|
5252
5389
|
[key: string]: unknown;
|
|
5253
5390
|
} | null;
|
|
5391
|
+
/** @description A2A Agent Card overrides */
|
|
5392
|
+
agentCard: {
|
|
5393
|
+
[key: string]: unknown;
|
|
5394
|
+
} | null;
|
|
5254
5395
|
/**
|
|
5255
5396
|
* Format: date-time
|
|
5256
5397
|
* @description Creation timestamp
|
|
@@ -5589,7 +5730,7 @@ export interface operations {
|
|
|
5589
5730
|
* @description Channel type
|
|
5590
5731
|
* @enum {string}
|
|
5591
5732
|
*/
|
|
5592
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
5733
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
5593
5734
|
/** @description Whether instance is active */
|
|
5594
5735
|
isActive: boolean;
|
|
5595
5736
|
/** @description Whether this is the default instance for channel */
|
|
@@ -5652,7 +5793,7 @@ export interface operations {
|
|
|
5652
5793
|
* @description Channel type
|
|
5653
5794
|
* @enum {string}
|
|
5654
5795
|
*/
|
|
5655
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
5796
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
5656
5797
|
/**
|
|
5657
5798
|
* Format: uuid
|
|
5658
5799
|
* @description Agent UUID (agents table)
|
|
@@ -5660,7 +5801,7 @@ export interface operations {
|
|
|
5660
5801
|
agentId?: string | null;
|
|
5661
5802
|
/**
|
|
5662
5803
|
* @description Agent timeout in seconds
|
|
5663
|
-
* @default
|
|
5804
|
+
* @default 600
|
|
5664
5805
|
*/
|
|
5665
5806
|
agentTimeout?: number;
|
|
5666
5807
|
/**
|
|
@@ -5698,7 +5839,7 @@ export interface operations {
|
|
|
5698
5839
|
* @description Channel type
|
|
5699
5840
|
* @enum {string}
|
|
5700
5841
|
*/
|
|
5701
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
5842
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
5702
5843
|
/** @description Whether instance is active */
|
|
5703
5844
|
isActive: boolean;
|
|
5704
5845
|
/** @description Whether this is the default instance for channel */
|
|
@@ -5781,7 +5922,7 @@ export interface operations {
|
|
|
5781
5922
|
* @description Channel type ID
|
|
5782
5923
|
* @enum {string}
|
|
5783
5924
|
*/
|
|
5784
|
-
id: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
5925
|
+
id: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
5785
5926
|
/** @description Human-readable channel name */
|
|
5786
5927
|
name: string;
|
|
5787
5928
|
/** @description Plugin version */
|
|
@@ -5830,7 +5971,7 @@ export interface operations {
|
|
|
5830
5971
|
* @description Channel type
|
|
5831
5972
|
* @enum {string}
|
|
5832
5973
|
*/
|
|
5833
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
5974
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
5834
5975
|
/** @description Whether instance is active */
|
|
5835
5976
|
isActive: boolean;
|
|
5836
5977
|
/** @description Whether this is the default instance for channel */
|
|
@@ -5958,7 +6099,7 @@ export interface operations {
|
|
|
5958
6099
|
* @description Channel type
|
|
5959
6100
|
* @enum {string}
|
|
5960
6101
|
*/
|
|
5961
|
-
channel?: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
6102
|
+
channel?: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
5962
6103
|
/**
|
|
5963
6104
|
* Format: uuid
|
|
5964
6105
|
* @description Agent UUID (agents table)
|
|
@@ -5966,7 +6107,7 @@ export interface operations {
|
|
|
5966
6107
|
agentId?: string | null;
|
|
5967
6108
|
/**
|
|
5968
6109
|
* @description Agent timeout in seconds
|
|
5969
|
-
* @default
|
|
6110
|
+
* @default 600
|
|
5970
6111
|
*/
|
|
5971
6112
|
agentTimeout?: number;
|
|
5972
6113
|
/**
|
|
@@ -6004,7 +6145,7 @@ export interface operations {
|
|
|
6004
6145
|
* @description Channel type
|
|
6005
6146
|
* @enum {string}
|
|
6006
6147
|
*/
|
|
6007
|
-
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "gupshup";
|
|
6148
|
+
channel: "whatsapp-baileys" | "whatsapp-cloud" | "discord" | "slack" | "telegram" | "a2a" | "gupshup" | "twilio-whatsapp" | "internal";
|
|
6008
6149
|
/** @description Whether instance is active */
|
|
6009
6150
|
isActive: boolean;
|
|
6010
6151
|
/** @description Whether this is the default instance for channel */
|
|
@@ -10719,7 +10860,7 @@ export interface operations {
|
|
|
10719
10860
|
defaultStream?: boolean;
|
|
10720
10861
|
/**
|
|
10721
10862
|
* @description Default timeout
|
|
10722
|
-
* @default
|
|
10863
|
+
* @default 600
|
|
10723
10864
|
*/
|
|
10724
10865
|
defaultTimeout?: number;
|
|
10725
10866
|
/**
|
|
@@ -11074,7 +11215,7 @@ export interface operations {
|
|
|
11074
11215
|
defaultStream?: boolean;
|
|
11075
11216
|
/**
|
|
11076
11217
|
* @description Default timeout
|
|
11077
|
-
* @default
|
|
11218
|
+
* @default 600
|
|
11078
11219
|
*/
|
|
11079
11220
|
defaultTimeout?: number;
|
|
11080
11221
|
/**
|
|
@@ -16661,5 +16802,258 @@ export interface operations {
|
|
|
16661
16802
|
};
|
|
16662
16803
|
};
|
|
16663
16804
|
};
|
|
16805
|
+
voiceJoin: {
|
|
16806
|
+
parameters: {
|
|
16807
|
+
query?: never;
|
|
16808
|
+
header?: never;
|
|
16809
|
+
path?: never;
|
|
16810
|
+
cookie?: never;
|
|
16811
|
+
};
|
|
16812
|
+
requestBody?: {
|
|
16813
|
+
content: {
|
|
16814
|
+
"application/json": {
|
|
16815
|
+
/** @description Channel instance ID */
|
|
16816
|
+
instanceId: string;
|
|
16817
|
+
/** @description Voice channel ID to join */
|
|
16818
|
+
channelId: string;
|
|
16819
|
+
/** @description Guild/server ID (required for Discord) */
|
|
16820
|
+
guildId?: string;
|
|
16821
|
+
};
|
|
16822
|
+
};
|
|
16823
|
+
};
|
|
16824
|
+
responses: {
|
|
16825
|
+
/** @description Successfully joined voice channel */
|
|
16826
|
+
201: {
|
|
16827
|
+
headers: {
|
|
16828
|
+
[name: string]: unknown;
|
|
16829
|
+
};
|
|
16830
|
+
content: {
|
|
16831
|
+
"application/json": {
|
|
16832
|
+
data: {
|
|
16833
|
+
/** @description Voice session ID */
|
|
16834
|
+
sessionId: string;
|
|
16835
|
+
/** @description Channel instance ID */
|
|
16836
|
+
instanceId: string;
|
|
16837
|
+
/** @description Voice channel ID */
|
|
16838
|
+
channelId: string;
|
|
16839
|
+
/** @description Session state (e.g. connecting, ready, disconnected) */
|
|
16840
|
+
state: string;
|
|
16841
|
+
/** @description User IDs of current participants */
|
|
16842
|
+
participants: string[];
|
|
16843
|
+
/**
|
|
16844
|
+
* Format: date-time
|
|
16845
|
+
* @description Session creation timestamp
|
|
16846
|
+
*/
|
|
16847
|
+
createdAt?: string;
|
|
16848
|
+
};
|
|
16849
|
+
};
|
|
16850
|
+
};
|
|
16851
|
+
};
|
|
16852
|
+
/** @description No voice-capable channel plugin available */
|
|
16853
|
+
400: {
|
|
16854
|
+
headers: {
|
|
16855
|
+
[name: string]: unknown;
|
|
16856
|
+
};
|
|
16857
|
+
content: {
|
|
16858
|
+
"application/json": {
|
|
16859
|
+
error: {
|
|
16860
|
+
/** @description Error code */
|
|
16861
|
+
code: string;
|
|
16862
|
+
/** @description Error message */
|
|
16863
|
+
message: string;
|
|
16864
|
+
};
|
|
16865
|
+
};
|
|
16866
|
+
};
|
|
16867
|
+
};
|
|
16868
|
+
/** @description Failed to join voice channel */
|
|
16869
|
+
500: {
|
|
16870
|
+
headers: {
|
|
16871
|
+
[name: string]: unknown;
|
|
16872
|
+
};
|
|
16873
|
+
content: {
|
|
16874
|
+
"application/json": {
|
|
16875
|
+
error: {
|
|
16876
|
+
/** @description Error code */
|
|
16877
|
+
code: string;
|
|
16878
|
+
/** @description Error message */
|
|
16879
|
+
message: string;
|
|
16880
|
+
};
|
|
16881
|
+
};
|
|
16882
|
+
};
|
|
16883
|
+
};
|
|
16884
|
+
};
|
|
16885
|
+
};
|
|
16886
|
+
voiceLeave: {
|
|
16887
|
+
parameters: {
|
|
16888
|
+
query?: never;
|
|
16889
|
+
header?: never;
|
|
16890
|
+
path?: never;
|
|
16891
|
+
cookie?: never;
|
|
16892
|
+
};
|
|
16893
|
+
requestBody?: {
|
|
16894
|
+
content: {
|
|
16895
|
+
"application/json": {
|
|
16896
|
+
/** @description Voice session ID to leave */
|
|
16897
|
+
sessionId: string;
|
|
16898
|
+
};
|
|
16899
|
+
};
|
|
16900
|
+
};
|
|
16901
|
+
responses: {
|
|
16902
|
+
/** @description Successfully left voice session */
|
|
16903
|
+
200: {
|
|
16904
|
+
headers: {
|
|
16905
|
+
[name: string]: unknown;
|
|
16906
|
+
};
|
|
16907
|
+
content: {
|
|
16908
|
+
"application/json": {
|
|
16909
|
+
success: boolean;
|
|
16910
|
+
};
|
|
16911
|
+
};
|
|
16912
|
+
};
|
|
16913
|
+
/** @description No voice-capable channel plugin available */
|
|
16914
|
+
400: {
|
|
16915
|
+
headers: {
|
|
16916
|
+
[name: string]: unknown;
|
|
16917
|
+
};
|
|
16918
|
+
content: {
|
|
16919
|
+
"application/json": {
|
|
16920
|
+
error: {
|
|
16921
|
+
/** @description Error code */
|
|
16922
|
+
code: string;
|
|
16923
|
+
/** @description Error message */
|
|
16924
|
+
message: string;
|
|
16925
|
+
};
|
|
16926
|
+
};
|
|
16927
|
+
};
|
|
16928
|
+
};
|
|
16929
|
+
/** @description Failed to leave voice session */
|
|
16930
|
+
500: {
|
|
16931
|
+
headers: {
|
|
16932
|
+
[name: string]: unknown;
|
|
16933
|
+
};
|
|
16934
|
+
content: {
|
|
16935
|
+
"application/json": {
|
|
16936
|
+
error: {
|
|
16937
|
+
/** @description Error code */
|
|
16938
|
+
code: string;
|
|
16939
|
+
/** @description Error message */
|
|
16940
|
+
message: string;
|
|
16941
|
+
};
|
|
16942
|
+
};
|
|
16943
|
+
};
|
|
16944
|
+
};
|
|
16945
|
+
};
|
|
16946
|
+
};
|
|
16947
|
+
listVoiceSessions: {
|
|
16948
|
+
parameters: {
|
|
16949
|
+
query?: never;
|
|
16950
|
+
header?: never;
|
|
16951
|
+
path?: never;
|
|
16952
|
+
cookie?: never;
|
|
16953
|
+
};
|
|
16954
|
+
requestBody?: never;
|
|
16955
|
+
responses: {
|
|
16956
|
+
/** @description List of active voice sessions */
|
|
16957
|
+
200: {
|
|
16958
|
+
headers: {
|
|
16959
|
+
[name: string]: unknown;
|
|
16960
|
+
};
|
|
16961
|
+
content: {
|
|
16962
|
+
"application/json": {
|
|
16963
|
+
items: {
|
|
16964
|
+
/** @description Voice session ID */
|
|
16965
|
+
sessionId: string;
|
|
16966
|
+
/** @description Channel instance ID */
|
|
16967
|
+
instanceId: string;
|
|
16968
|
+
/** @description Voice channel ID */
|
|
16969
|
+
channelId: string;
|
|
16970
|
+
/** @description Session state (e.g. connecting, ready, disconnected) */
|
|
16971
|
+
state: string;
|
|
16972
|
+
/** @description User IDs of current participants */
|
|
16973
|
+
participants: string[];
|
|
16974
|
+
/**
|
|
16975
|
+
* Format: date-time
|
|
16976
|
+
* @description Session creation timestamp
|
|
16977
|
+
*/
|
|
16978
|
+
createdAt?: string;
|
|
16979
|
+
}[];
|
|
16980
|
+
};
|
|
16981
|
+
};
|
|
16982
|
+
};
|
|
16983
|
+
};
|
|
16984
|
+
};
|
|
16985
|
+
getVoiceSession: {
|
|
16986
|
+
parameters: {
|
|
16987
|
+
query?: never;
|
|
16988
|
+
header?: never;
|
|
16989
|
+
path: {
|
|
16990
|
+
/** @description Voice session ID */
|
|
16991
|
+
id: string;
|
|
16992
|
+
};
|
|
16993
|
+
cookie?: never;
|
|
16994
|
+
};
|
|
16995
|
+
requestBody?: never;
|
|
16996
|
+
responses: {
|
|
16997
|
+
/** @description Voice session details */
|
|
16998
|
+
200: {
|
|
16999
|
+
headers: {
|
|
17000
|
+
[name: string]: unknown;
|
|
17001
|
+
};
|
|
17002
|
+
content: {
|
|
17003
|
+
"application/json": {
|
|
17004
|
+
data: {
|
|
17005
|
+
/** @description Voice session ID */
|
|
17006
|
+
sessionId: string;
|
|
17007
|
+
/** @description Channel instance ID */
|
|
17008
|
+
instanceId: string;
|
|
17009
|
+
/** @description Voice channel ID */
|
|
17010
|
+
channelId: string;
|
|
17011
|
+
/** @description Session state (e.g. connecting, ready, disconnected) */
|
|
17012
|
+
state: string;
|
|
17013
|
+
/** @description User IDs of current participants */
|
|
17014
|
+
participants: string[];
|
|
17015
|
+
/**
|
|
17016
|
+
* Format: date-time
|
|
17017
|
+
* @description Session creation timestamp
|
|
17018
|
+
*/
|
|
17019
|
+
createdAt?: string;
|
|
17020
|
+
};
|
|
17021
|
+
};
|
|
17022
|
+
};
|
|
17023
|
+
};
|
|
17024
|
+
/** @description No voice-capable channel plugin available */
|
|
17025
|
+
400: {
|
|
17026
|
+
headers: {
|
|
17027
|
+
[name: string]: unknown;
|
|
17028
|
+
};
|
|
17029
|
+
content: {
|
|
17030
|
+
"application/json": {
|
|
17031
|
+
error: {
|
|
17032
|
+
/** @description Error code */
|
|
17033
|
+
code: string;
|
|
17034
|
+
/** @description Error message */
|
|
17035
|
+
message: string;
|
|
17036
|
+
};
|
|
17037
|
+
};
|
|
17038
|
+
};
|
|
17039
|
+
};
|
|
17040
|
+
/** @description Voice session not found */
|
|
17041
|
+
404: {
|
|
17042
|
+
headers: {
|
|
17043
|
+
[name: string]: unknown;
|
|
17044
|
+
};
|
|
17045
|
+
content: {
|
|
17046
|
+
"application/json": {
|
|
17047
|
+
error: {
|
|
17048
|
+
/** @description Error code */
|
|
17049
|
+
code: string;
|
|
17050
|
+
/** @description Error message */
|
|
17051
|
+
message: string;
|
|
17052
|
+
};
|
|
17053
|
+
};
|
|
17054
|
+
};
|
|
17055
|
+
};
|
|
17056
|
+
};
|
|
17057
|
+
};
|
|
16664
17058
|
}
|
|
16665
17059
|
//# sourceMappingURL=types.generated.d.ts.map
|