obs-ws-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -0
- package/dist/client.d.ts +41 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +74 -0
- package/dist/client.js.map +1 -0
- package/dist/index.cjs +1482 -0
- package/dist/index.d.cts +1201 -0
- package/dist/index.d.mts +1201 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1463 -0
- package/dist/modules/base.d.ts +8 -0
- package/dist/modules/base.d.ts.map +1 -0
- package/dist/modules/base.js +9 -0
- package/dist/modules/base.js.map +1 -0
- package/dist/modules/config.d.ts +120 -0
- package/dist/modules/config.d.ts.map +1 -0
- package/dist/modules/config.js +162 -0
- package/dist/modules/config.js.map +1 -0
- package/dist/modules/filters.d.ts +102 -0
- package/dist/modules/filters.d.ts.map +1 -0
- package/dist/modules/filters.js +130 -0
- package/dist/modules/filters.js.map +1 -0
- package/dist/modules/general.d.ts +72 -0
- package/dist/modules/general.d.ts.map +1 -0
- package/dist/modules/general.js +98 -0
- package/dist/modules/general.js.map +1 -0
- package/dist/modules/inputs.d.ts +257 -0
- package/dist/modules/inputs.d.ts.map +1 -0
- package/dist/modules/inputs.js +323 -0
- package/dist/modules/inputs.js.map +1 -0
- package/dist/modules/media-inputs.d.ts +39 -0
- package/dist/modules/media-inputs.d.ts.map +1 -0
- package/dist/modules/media-inputs.js +55 -0
- package/dist/modules/media-inputs.js.map +1 -0
- package/dist/modules/outputs.d.ts +91 -0
- package/dist/modules/outputs.d.ts.map +1 -0
- package/dist/modules/outputs.js +133 -0
- package/dist/modules/outputs.js.map +1 -0
- package/dist/modules/record.d.ts +35 -0
- package/dist/modules/record.d.ts.map +1 -0
- package/dist/modules/record.js +62 -0
- package/dist/modules/record.js.map +1 -0
- package/dist/modules/scene-items.d.ts +195 -0
- package/dist/modules/scene-items.d.ts.map +1 -0
- package/dist/modules/scene-items.js +172 -0
- package/dist/modules/scene-items.js.map +1 -0
- package/dist/modules/scenes.d.ts +98 -0
- package/dist/modules/scenes.d.ts.map +1 -0
- package/dist/modules/scenes.js +129 -0
- package/dist/modules/scenes.js.map +1 -0
- package/dist/modules/sources.d.ts +50 -0
- package/dist/modules/sources.d.ts.map +1 -0
- package/dist/modules/sources.js +66 -0
- package/dist/modules/sources.js.map +1 -0
- package/dist/modules/stream.d.ts +30 -0
- package/dist/modules/stream.d.ts.map +1 -0
- package/dist/modules/stream.js +48 -0
- package/dist/modules/stream.js.map +1 -0
- package/dist/modules/transitions.d.ts +58 -0
- package/dist/modules/transitions.d.ts.map +1 -0
- package/dist/modules/transitions.js +84 -0
- package/dist/modules/transitions.js.map +1 -0
- package/dist/modules/ui.d.ts +55 -0
- package/dist/modules/ui.d.ts.map +1 -0
- package/dist/modules/ui.js +79 -0
- package/dist/modules/ui.js.map +1 -0
- package/package.json +72 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1201 @@
|
|
|
1
|
+
import OBSWebSocket from 'obs-websocket-js';
|
|
2
|
+
export { default as OBSWebSocket } from 'obs-websocket-js';
|
|
3
|
+
import { z } from 'zod/v4';
|
|
4
|
+
|
|
5
|
+
declare abstract class BaseModule {
|
|
6
|
+
protected obs: OBSWebSocket;
|
|
7
|
+
constructor(obs: OBSWebSocket);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const GetPersistentDataRequestSchema: z.ZodObject<{
|
|
11
|
+
realm: z.ZodString;
|
|
12
|
+
slotName: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const SetPersistentDataRequestSchema: z.ZodObject<{
|
|
15
|
+
realm: z.ZodString;
|
|
16
|
+
slotName: z.ZodString;
|
|
17
|
+
slotValue: z.ZodJSONSchema;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const SetCurrentSceneCollectionRequestSchema: z.ZodObject<{
|
|
20
|
+
sceneCollectionName: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const CreateSceneCollectionRequestSchema: z.ZodObject<{
|
|
23
|
+
sceneCollectionName: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const SetCurrentProfileRequestSchema: z.ZodObject<{
|
|
26
|
+
profileName: z.ZodString;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const CreateProfileRequestSchema: z.ZodObject<{
|
|
29
|
+
profileName: z.ZodString;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const RemoveProfileRequestSchema: z.ZodObject<{
|
|
32
|
+
profileName: z.ZodString;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
declare const GetProfileParameterRequestSchema: z.ZodObject<{
|
|
35
|
+
parameterCategory: z.ZodString;
|
|
36
|
+
parameterName: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const SetProfileParameterRequestSchema: z.ZodObject<{
|
|
39
|
+
parameterCategory: z.ZodString;
|
|
40
|
+
parameterName: z.ZodString;
|
|
41
|
+
parameterValue: z.ZodString;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const SetVideoSettingsRequestSchema: z.ZodObject<{
|
|
44
|
+
fpsNumerator: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
fpsDenominator: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
baseWidth: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
baseHeight: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
outputWidth: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
outputHeight: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
declare const SetStreamServiceSettingsRequestSchema: z.ZodObject<{
|
|
52
|
+
streamServiceType: z.ZodString;
|
|
53
|
+
streamServiceSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
declare const SetRecordDirectoryRequestSchema: z.ZodObject<{
|
|
56
|
+
recordDirectory: z.ZodString;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
declare const GetPersistentDataResponseSchema: z.ZodObject<{
|
|
59
|
+
slotValue: z.ZodJSONSchema;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
declare const GetSceneCollectionListResponseSchema: z.ZodObject<{
|
|
62
|
+
currentSceneCollectionName: z.ZodString;
|
|
63
|
+
sceneCollections: z.ZodArray<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
declare const GetProfileListResponseSchema: z.ZodObject<{
|
|
66
|
+
currentProfileName: z.ZodString;
|
|
67
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
declare const GetProfileParameterResponseSchema: z.ZodObject<{
|
|
70
|
+
parameterValue: z.ZodNullable<z.ZodString>;
|
|
71
|
+
defaultParameterValue: z.ZodNullable<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
declare const GetVideoSettingsResponseSchema: z.ZodObject<{
|
|
74
|
+
fpsNumerator: z.ZodNumber;
|
|
75
|
+
fpsDenominator: z.ZodNumber;
|
|
76
|
+
baseWidth: z.ZodNumber;
|
|
77
|
+
baseHeight: z.ZodNumber;
|
|
78
|
+
outputWidth: z.ZodNumber;
|
|
79
|
+
outputHeight: z.ZodNumber;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
declare const GetStreamServiceSettingsResponseSchema: z.ZodObject<{
|
|
82
|
+
streamServiceType: z.ZodString;
|
|
83
|
+
streamServiceSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
declare const GetRecordDirectoryResponseSchema: z.ZodObject<{
|
|
86
|
+
recordDirectory: z.ZodString;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
type GetPersistentDataRequest = z.infer<typeof GetPersistentDataRequestSchema>;
|
|
89
|
+
type GetPersistentDataResponse = z.infer<typeof GetPersistentDataResponseSchema>;
|
|
90
|
+
type SetPersistentDataRequest = z.infer<typeof SetPersistentDataRequestSchema>;
|
|
91
|
+
type SetCurrentSceneCollectionRequest = z.infer<typeof SetCurrentSceneCollectionRequestSchema>;
|
|
92
|
+
type CreateSceneCollectionRequest = z.infer<typeof CreateSceneCollectionRequestSchema>;
|
|
93
|
+
type GetSceneCollectionListResponse = z.infer<typeof GetSceneCollectionListResponseSchema>;
|
|
94
|
+
type SetCurrentProfileRequest = z.infer<typeof SetCurrentProfileRequestSchema>;
|
|
95
|
+
type CreateProfileRequest = z.infer<typeof CreateProfileRequestSchema>;
|
|
96
|
+
type RemoveProfileRequest = z.infer<typeof RemoveProfileRequestSchema>;
|
|
97
|
+
type GetProfileListResponse = z.infer<typeof GetProfileListResponseSchema>;
|
|
98
|
+
type GetProfileParameterRequest = z.infer<typeof GetProfileParameterRequestSchema>;
|
|
99
|
+
type GetProfileParameterResponse = z.infer<typeof GetProfileParameterResponseSchema>;
|
|
100
|
+
type SetProfileParameterRequest = z.infer<typeof SetProfileParameterRequestSchema>;
|
|
101
|
+
type GetVideoSettingsResponse = z.infer<typeof GetVideoSettingsResponseSchema>;
|
|
102
|
+
type SetVideoSettingsRequest = z.infer<typeof SetVideoSettingsRequestSchema>;
|
|
103
|
+
type GetStreamServiceSettingsResponse = z.infer<typeof GetStreamServiceSettingsResponseSchema>;
|
|
104
|
+
type SetStreamServiceSettingsRequest = z.infer<typeof SetStreamServiceSettingsRequestSchema>;
|
|
105
|
+
type GetRecordDirectoryResponse = z.infer<typeof GetRecordDirectoryResponseSchema>;
|
|
106
|
+
type SetRecordDirectoryRequest = z.infer<typeof SetRecordDirectoryRequestSchema>;
|
|
107
|
+
declare class ConfigModule extends BaseModule {
|
|
108
|
+
getPersistentData(params: GetPersistentDataRequest): Promise<GetPersistentDataResponse>;
|
|
109
|
+
setPersistentData(params: SetPersistentDataRequest): Promise<void>;
|
|
110
|
+
getSceneCollectionList(): Promise<GetSceneCollectionListResponse>;
|
|
111
|
+
setCurrentSceneCollection(params: SetCurrentSceneCollectionRequest): Promise<void>;
|
|
112
|
+
createSceneCollection(params: CreateSceneCollectionRequest): Promise<void>;
|
|
113
|
+
getProfileList(): Promise<GetProfileListResponse>;
|
|
114
|
+
setCurrentProfile(params: SetCurrentProfileRequest): Promise<void>;
|
|
115
|
+
createProfile(params: CreateProfileRequest): Promise<void>;
|
|
116
|
+
removeProfile(params: RemoveProfileRequest): Promise<void>;
|
|
117
|
+
getProfileParameter(params: GetProfileParameterRequest): Promise<GetProfileParameterResponse>;
|
|
118
|
+
setProfileParameter(params: SetProfileParameterRequest): Promise<void>;
|
|
119
|
+
getVideoSettings(): Promise<GetVideoSettingsResponse>;
|
|
120
|
+
setVideoSettings(params: SetVideoSettingsRequest): Promise<void>;
|
|
121
|
+
getStreamServiceSettings(): Promise<GetStreamServiceSettingsResponse>;
|
|
122
|
+
setStreamServiceSettings(params: SetStreamServiceSettingsRequest): Promise<void>;
|
|
123
|
+
getRecordDirectory(): Promise<GetRecordDirectoryResponse>;
|
|
124
|
+
setRecordDirectory(params: SetRecordDirectoryRequest): Promise<void>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare const GetSourceFilterListRequestSchema: z.ZodObject<{
|
|
128
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
129
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
130
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
declare const GetSourceFilterDefaultSettingsRequestSchema: z.ZodObject<{
|
|
133
|
+
filterKind: z.ZodString;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
declare const CreateSourceFilterRequestSchema: z.ZodObject<{
|
|
136
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
137
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
138
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
139
|
+
filterName: z.ZodString;
|
|
140
|
+
filterKind: z.ZodString;
|
|
141
|
+
filterSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
declare const RemoveSourceFilterRequestSchema: z.ZodObject<{
|
|
144
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
145
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
146
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
147
|
+
filterName: z.ZodString;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
declare const SetSourceFilterNameRequestSchema: z.ZodObject<{
|
|
150
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
151
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
152
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
153
|
+
filterName: z.ZodString;
|
|
154
|
+
newFilterName: z.ZodString;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
declare const GetSourceFilterRequestSchema: z.ZodObject<{
|
|
157
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
158
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
159
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
160
|
+
filterName: z.ZodString;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
declare const SetSourceFilterIndexRequestSchema: z.ZodObject<{
|
|
163
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
164
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
165
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
166
|
+
filterName: z.ZodString;
|
|
167
|
+
filterIndex: z.ZodNumber;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
declare const SetSourceFilterSettingsRequestSchema: z.ZodObject<{
|
|
170
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
171
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
172
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
173
|
+
filterName: z.ZodString;
|
|
174
|
+
filterSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
175
|
+
overlay: z.ZodOptional<z.ZodBoolean>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
declare const SetSourceFilterEnabledRequestSchema: z.ZodObject<{
|
|
178
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
179
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
180
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
181
|
+
filterName: z.ZodString;
|
|
182
|
+
filterEnabled: z.ZodBoolean;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
declare const GetSourceFilterKindListResponseSchema: z.ZodObject<{
|
|
185
|
+
sourceFilterKinds: z.ZodArray<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
declare const GetSourceFilterListResponseSchema: z.ZodObject<{
|
|
188
|
+
filters: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
declare const GetSourceFilterDefaultSettingsResponseSchema: z.ZodObject<{
|
|
191
|
+
defaultFilterSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
declare const GetSourceFilterResponseSchema: z.ZodObject<{
|
|
194
|
+
filterEnabled: z.ZodBoolean;
|
|
195
|
+
filterIndex: z.ZodNumber;
|
|
196
|
+
filterKind: z.ZodString;
|
|
197
|
+
filterName: z.ZodString;
|
|
198
|
+
filterSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
199
|
+
}, z.core.$strip>;
|
|
200
|
+
type GetSourceFilterKindListResponse = z.infer<typeof GetSourceFilterKindListResponseSchema>;
|
|
201
|
+
type GetSourceFilterListRequest = z.infer<typeof GetSourceFilterListRequestSchema>;
|
|
202
|
+
type GetSourceFilterListResponse = z.infer<typeof GetSourceFilterListResponseSchema>;
|
|
203
|
+
type GetSourceFilterDefaultSettingsRequest = z.infer<typeof GetSourceFilterDefaultSettingsRequestSchema>;
|
|
204
|
+
type GetSourceFilterDefaultSettingsResponse = z.infer<typeof GetSourceFilterDefaultSettingsResponseSchema>;
|
|
205
|
+
type CreateSourceFilterRequest = z.infer<typeof CreateSourceFilterRequestSchema>;
|
|
206
|
+
type RemoveSourceFilterRequest = z.infer<typeof RemoveSourceFilterRequestSchema>;
|
|
207
|
+
type SetSourceFilterNameRequest = z.infer<typeof SetSourceFilterNameRequestSchema>;
|
|
208
|
+
type GetSourceFilterRequest = z.infer<typeof GetSourceFilterRequestSchema>;
|
|
209
|
+
type GetSourceFilterResponse = z.infer<typeof GetSourceFilterResponseSchema>;
|
|
210
|
+
type SetSourceFilterIndexRequest = z.infer<typeof SetSourceFilterIndexRequestSchema>;
|
|
211
|
+
type SetSourceFilterSettingsRequest = z.infer<typeof SetSourceFilterSettingsRequestSchema>;
|
|
212
|
+
type SetSourceFilterEnabledRequest = z.infer<typeof SetSourceFilterEnabledRequestSchema>;
|
|
213
|
+
declare class FiltersModule extends BaseModule {
|
|
214
|
+
getSourceFilterKindList(): Promise<GetSourceFilterKindListResponse>;
|
|
215
|
+
getSourceFilterList(params: GetSourceFilterListRequest): Promise<GetSourceFilterListResponse>;
|
|
216
|
+
getSourceFilterDefaultSettings(params: GetSourceFilterDefaultSettingsRequest): Promise<GetSourceFilterDefaultSettingsResponse>;
|
|
217
|
+
createSourceFilter(params: CreateSourceFilterRequest): Promise<void>;
|
|
218
|
+
removeSourceFilter(params: RemoveSourceFilterRequest): Promise<void>;
|
|
219
|
+
setSourceFilterName(params: SetSourceFilterNameRequest): Promise<void>;
|
|
220
|
+
getSourceFilter(params: GetSourceFilterRequest): Promise<GetSourceFilterResponse>;
|
|
221
|
+
setSourceFilterIndex(params: SetSourceFilterIndexRequest): Promise<void>;
|
|
222
|
+
setSourceFilterSettings(params: SetSourceFilterSettingsRequest): Promise<void>;
|
|
223
|
+
setSourceFilterEnabled(params: SetSourceFilterEnabledRequest): Promise<void>;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare const GetVersionResponseSchema: z.ZodObject<{
|
|
227
|
+
obsVersion: z.ZodString;
|
|
228
|
+
obsWebSocketVersion: z.ZodString;
|
|
229
|
+
rpcVersion: z.ZodNumber;
|
|
230
|
+
availableRequests: z.ZodArray<z.ZodString>;
|
|
231
|
+
supportedImageFormats: z.ZodArray<z.ZodString>;
|
|
232
|
+
platform: z.ZodString;
|
|
233
|
+
platformDescription: z.ZodString;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
declare const GetStatsResponseSchema: z.ZodObject<{
|
|
236
|
+
cpuUsage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
237
|
+
memoryUsage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
238
|
+
availableDiskSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
239
|
+
activeFps: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
240
|
+
averageFrameRenderTime: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
241
|
+
renderSkippedFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
242
|
+
renderTotalFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
243
|
+
outputSkippedFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
244
|
+
outputTotalFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
245
|
+
webSocketSessionIncomingMessages: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
246
|
+
webSocketSessionOutgoingMessages: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
declare const BroadcastCustomEventRequestSchema: z.ZodObject<{
|
|
249
|
+
eventData: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
declare const CallVendorRequestRequestSchema: z.ZodObject<{
|
|
252
|
+
vendorName: z.ZodString;
|
|
253
|
+
requestType: z.ZodString;
|
|
254
|
+
requestData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
declare const CallVendorRequestResponseSchema: z.ZodObject<{
|
|
257
|
+
vendorName: z.ZodString;
|
|
258
|
+
requestType: z.ZodString;
|
|
259
|
+
responseData: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
declare const GetHotkeyListResponseSchema: z.ZodObject<{
|
|
262
|
+
hotkeys: z.ZodArray<z.ZodString>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
declare const TriggerHotkeyByNameRequestSchema: z.ZodObject<{
|
|
265
|
+
hotkeyName: z.ZodString;
|
|
266
|
+
contextName: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
declare const TriggerHotkeyByKeySequenceRequestSchema: z.ZodObject<{
|
|
269
|
+
keyId: z.ZodOptional<z.ZodString>;
|
|
270
|
+
keyModifiers: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
shift: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
control: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
+
alt: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
command: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
}, z.core.$strip>>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
type GetVersionResponse = z.infer<typeof GetVersionResponseSchema>;
|
|
278
|
+
type GetStatsResponse = z.infer<typeof GetStatsResponseSchema>;
|
|
279
|
+
type BroadcastCustomEventRequest = z.infer<typeof BroadcastCustomEventRequestSchema>;
|
|
280
|
+
type CallVendorRequestRequest = z.infer<typeof CallVendorRequestRequestSchema>;
|
|
281
|
+
type CallVendorRequestResponse = z.infer<typeof CallVendorRequestResponseSchema>;
|
|
282
|
+
type GetHotkeyListResponse = z.infer<typeof GetHotkeyListResponseSchema>;
|
|
283
|
+
type TriggerHotkeyByNameRequest = z.infer<typeof TriggerHotkeyByNameRequestSchema>;
|
|
284
|
+
type TriggerHotkeyByKeySequenceRequest = z.infer<typeof TriggerHotkeyByKeySequenceRequestSchema>;
|
|
285
|
+
declare class GeneralModule extends BaseModule {
|
|
286
|
+
getVersion(): Promise<GetVersionResponse>;
|
|
287
|
+
getStats(): Promise<GetStatsResponse>;
|
|
288
|
+
broadcastCustomEvent(params: BroadcastCustomEventRequest): Promise<void>;
|
|
289
|
+
callVendorRequest(params: CallVendorRequestRequest): Promise<CallVendorRequestResponse>;
|
|
290
|
+
getHotkeyList(): Promise<GetHotkeyListResponse>;
|
|
291
|
+
triggerHotkeyByName(params: TriggerHotkeyByNameRequest): Promise<void>;
|
|
292
|
+
triggerHotkeyByKeySequence(params: TriggerHotkeyByKeySequenceRequest): Promise<void>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare const GetInputListRequestSchema: z.ZodObject<{
|
|
296
|
+
inputKind: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strip>;
|
|
298
|
+
declare const GetInputKindListRequestSchema: z.ZodObject<{
|
|
299
|
+
unversioned: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
declare const CreateInputRequestSchema: z.ZodObject<{
|
|
302
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
303
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
304
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
305
|
+
inputName: z.ZodString;
|
|
306
|
+
inputKind: z.ZodString;
|
|
307
|
+
inputSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
308
|
+
sceneItemEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
declare const RemoveInputRequestSchema: z.ZodObject<{
|
|
311
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
312
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
declare const SetInputNameRequestSchema: z.ZodObject<{
|
|
315
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
316
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
317
|
+
newInputName: z.ZodString;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
declare const GetInputDefaultSettingsRequestSchema: z.ZodObject<{
|
|
320
|
+
inputKind: z.ZodString;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
declare const GetInputSettingsRequestSchema: z.ZodObject<{
|
|
323
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
324
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
declare const SetInputSettingsRequestSchema: z.ZodObject<{
|
|
327
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
328
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
329
|
+
inputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
330
|
+
overlay: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
declare const GetInputMuteRequestSchema: z.ZodObject<{
|
|
333
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
334
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
declare const SetInputMuteRequestSchema: z.ZodObject<{
|
|
337
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
338
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
339
|
+
inputMuted: z.ZodBoolean;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
declare const ToggleInputMuteRequestSchema: z.ZodObject<{
|
|
342
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
343
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
declare const GetInputVolumeRequestSchema: z.ZodObject<{
|
|
346
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
347
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
348
|
+
}, z.core.$strip>;
|
|
349
|
+
declare const SetInputVolumeRequestSchema: z.ZodObject<{
|
|
350
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
351
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
352
|
+
inputVolumeMul: z.ZodOptional<z.ZodNumber>;
|
|
353
|
+
inputVolumeDb: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
}, z.core.$strip>;
|
|
355
|
+
declare const GetInputAudioBalanceRequestSchema: z.ZodObject<{
|
|
356
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
357
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
declare const SetInputAudioBalanceRequestSchema: z.ZodObject<{
|
|
360
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
361
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
362
|
+
inputAudioBalance: z.ZodNumber;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
declare const GetInputAudioSyncOffsetRequestSchema: z.ZodObject<{
|
|
365
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
366
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, z.core.$strip>;
|
|
368
|
+
declare const SetInputAudioSyncOffsetRequestSchema: z.ZodObject<{
|
|
369
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
370
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
371
|
+
inputAudioSyncOffset: z.ZodNumber;
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
declare const GetInputAudioMonitorTypeRequestSchema: z.ZodObject<{
|
|
374
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
375
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
declare const SetInputAudioMonitorTypeRequestSchema: z.ZodObject<{
|
|
378
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
379
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
380
|
+
monitorType: z.ZodString;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
declare const GetInputAudioTracksRequestSchema: z.ZodObject<{
|
|
383
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
384
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
declare const SetInputAudioTracksRequestSchema: z.ZodObject<{
|
|
387
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
388
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
389
|
+
inputAudioTracks: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
declare const GetInputDeinterlaceModeRequestSchema: z.ZodObject<{
|
|
392
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
393
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
declare const SetInputDeinterlaceModeRequestSchema: z.ZodObject<{
|
|
396
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
397
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
398
|
+
inputDeinterlaceMode: z.ZodString;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
declare const GetInputDeinterlaceFieldOrderRequestSchema: z.ZodObject<{
|
|
401
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
402
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
declare const SetInputDeinterlaceFieldOrderRequestSchema: z.ZodObject<{
|
|
405
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
406
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
407
|
+
inputDeinterlaceFieldOrder: z.ZodString;
|
|
408
|
+
}, z.core.$strip>;
|
|
409
|
+
declare const GetInputPropertiesListPropertyItemsRequestSchema: z.ZodObject<{
|
|
410
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
411
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
412
|
+
propertyName: z.ZodString;
|
|
413
|
+
}, z.core.$strip>;
|
|
414
|
+
declare const PressInputPropertiesButtonRequestSchema: z.ZodObject<{
|
|
415
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
416
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
417
|
+
propertyName: z.ZodString;
|
|
418
|
+
}, z.core.$strip>;
|
|
419
|
+
declare const GetInputListResponseSchema: z.ZodObject<{
|
|
420
|
+
inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
declare const GetInputKindListResponseSchema: z.ZodObject<{
|
|
423
|
+
inputKinds: z.ZodArray<z.ZodString>;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
declare const GetSpecialInputsResponseSchema: z.ZodObject<{
|
|
426
|
+
desktop1: z.ZodNullable<z.ZodString>;
|
|
427
|
+
desktop2: z.ZodNullable<z.ZodString>;
|
|
428
|
+
mic1: z.ZodNullable<z.ZodString>;
|
|
429
|
+
mic2: z.ZodNullable<z.ZodString>;
|
|
430
|
+
mic3: z.ZodNullable<z.ZodString>;
|
|
431
|
+
mic4: z.ZodNullable<z.ZodString>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
declare const CreateInputResponseSchema: z.ZodObject<{
|
|
434
|
+
inputUuid: z.ZodString;
|
|
435
|
+
sceneItemId: z.ZodNumber;
|
|
436
|
+
}, z.core.$strip>;
|
|
437
|
+
declare const GetInputDefaultSettingsResponseSchema: z.ZodObject<{
|
|
438
|
+
defaultInputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
439
|
+
}, z.core.$strip>;
|
|
440
|
+
declare const GetInputSettingsResponseSchema: z.ZodObject<{
|
|
441
|
+
inputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
442
|
+
inputKind: z.ZodString;
|
|
443
|
+
}, z.core.$strip>;
|
|
444
|
+
declare const GetInputMuteResponseSchema: z.ZodObject<{
|
|
445
|
+
inputMuted: z.ZodBoolean;
|
|
446
|
+
}, z.core.$strip>;
|
|
447
|
+
declare const ToggleInputMuteResponseSchema: z.ZodObject<{
|
|
448
|
+
inputMuted: z.ZodBoolean;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
declare const GetInputVolumeResponseSchema: z.ZodObject<{
|
|
451
|
+
inputVolumeMul: z.ZodNumber;
|
|
452
|
+
inputVolumeDb: z.ZodNumber;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
declare const GetInputAudioBalanceResponseSchema: z.ZodObject<{
|
|
455
|
+
inputAudioBalance: z.ZodNumber;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
declare const GetInputAudioSyncOffsetResponseSchema: z.ZodObject<{
|
|
458
|
+
inputAudioSyncOffset: z.ZodNumber;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
declare const GetInputAudioMonitorTypeResponseSchema: z.ZodObject<{
|
|
461
|
+
monitorType: z.ZodString;
|
|
462
|
+
}, z.core.$strip>;
|
|
463
|
+
declare const GetInputAudioTracksResponseSchema: z.ZodObject<{
|
|
464
|
+
inputAudioTracks: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
declare const GetInputDeinterlaceModeResponseSchema: z.ZodObject<{
|
|
467
|
+
inputDeinterlaceMode: z.ZodString;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
declare const GetInputDeinterlaceFieldOrderResponseSchema: z.ZodObject<{
|
|
470
|
+
inputDeinterlaceFieldOrder: z.ZodString;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
declare const GetInputPropertiesListPropertyItemsResponseSchema: z.ZodObject<{
|
|
473
|
+
propertyItems: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
type GetInputListRequest = z.infer<typeof GetInputListRequestSchema>;
|
|
476
|
+
type GetInputListResponse = z.infer<typeof GetInputListResponseSchema>;
|
|
477
|
+
type GetInputKindListRequest = z.infer<typeof GetInputKindListRequestSchema>;
|
|
478
|
+
type GetInputKindListResponse = z.infer<typeof GetInputKindListResponseSchema>;
|
|
479
|
+
type GetSpecialInputsResponse = z.infer<typeof GetSpecialInputsResponseSchema>;
|
|
480
|
+
type CreateInputRequest = z.infer<typeof CreateInputRequestSchema>;
|
|
481
|
+
type CreateInputResponse = z.infer<typeof CreateInputResponseSchema>;
|
|
482
|
+
type RemoveInputRequest = z.infer<typeof RemoveInputRequestSchema>;
|
|
483
|
+
type SetInputNameRequest = z.infer<typeof SetInputNameRequestSchema>;
|
|
484
|
+
type GetInputDefaultSettingsRequest = z.infer<typeof GetInputDefaultSettingsRequestSchema>;
|
|
485
|
+
type GetInputDefaultSettingsResponse = z.infer<typeof GetInputDefaultSettingsResponseSchema>;
|
|
486
|
+
type GetInputSettingsRequest = z.infer<typeof GetInputSettingsRequestSchema>;
|
|
487
|
+
type GetInputSettingsResponse = z.infer<typeof GetInputSettingsResponseSchema>;
|
|
488
|
+
type SetInputSettingsRequest = z.infer<typeof SetInputSettingsRequestSchema>;
|
|
489
|
+
type GetInputMuteRequest = z.infer<typeof GetInputMuteRequestSchema>;
|
|
490
|
+
type GetInputMuteResponse = z.infer<typeof GetInputMuteResponseSchema>;
|
|
491
|
+
type SetInputMuteRequest = z.infer<typeof SetInputMuteRequestSchema>;
|
|
492
|
+
type ToggleInputMuteRequest = z.infer<typeof ToggleInputMuteRequestSchema>;
|
|
493
|
+
type ToggleInputMuteResponse = z.infer<typeof ToggleInputMuteResponseSchema>;
|
|
494
|
+
type GetInputVolumeRequest = z.infer<typeof GetInputVolumeRequestSchema>;
|
|
495
|
+
type GetInputVolumeResponse = z.infer<typeof GetInputVolumeResponseSchema>;
|
|
496
|
+
type SetInputVolumeRequest = z.infer<typeof SetInputVolumeRequestSchema>;
|
|
497
|
+
type GetInputAudioBalanceRequest = z.infer<typeof GetInputAudioBalanceRequestSchema>;
|
|
498
|
+
type GetInputAudioBalanceResponse = z.infer<typeof GetInputAudioBalanceResponseSchema>;
|
|
499
|
+
type SetInputAudioBalanceRequest = z.infer<typeof SetInputAudioBalanceRequestSchema>;
|
|
500
|
+
type GetInputAudioSyncOffsetRequest = z.infer<typeof GetInputAudioSyncOffsetRequestSchema>;
|
|
501
|
+
type GetInputAudioSyncOffsetResponse = z.infer<typeof GetInputAudioSyncOffsetResponseSchema>;
|
|
502
|
+
type SetInputAudioSyncOffsetRequest = z.infer<typeof SetInputAudioSyncOffsetRequestSchema>;
|
|
503
|
+
type GetInputAudioMonitorTypeRequest = z.infer<typeof GetInputAudioMonitorTypeRequestSchema>;
|
|
504
|
+
type GetInputAudioMonitorTypeResponse = z.infer<typeof GetInputAudioMonitorTypeResponseSchema>;
|
|
505
|
+
type SetInputAudioMonitorTypeRequest = z.infer<typeof SetInputAudioMonitorTypeRequestSchema>;
|
|
506
|
+
type GetInputAudioTracksRequest = z.infer<typeof GetInputAudioTracksRequestSchema>;
|
|
507
|
+
type GetInputAudioTracksResponse = z.infer<typeof GetInputAudioTracksResponseSchema>;
|
|
508
|
+
type SetInputAudioTracksRequest = z.infer<typeof SetInputAudioTracksRequestSchema>;
|
|
509
|
+
type GetInputDeinterlaceModeRequest = z.infer<typeof GetInputDeinterlaceModeRequestSchema>;
|
|
510
|
+
type GetInputDeinterlaceModeResponse = z.infer<typeof GetInputDeinterlaceModeResponseSchema>;
|
|
511
|
+
type SetInputDeinterlaceModeRequest = z.infer<typeof SetInputDeinterlaceModeRequestSchema>;
|
|
512
|
+
type GetInputDeinterlaceFieldOrderRequest = z.infer<typeof GetInputDeinterlaceFieldOrderRequestSchema>;
|
|
513
|
+
type GetInputDeinterlaceFieldOrderResponse = z.infer<typeof GetInputDeinterlaceFieldOrderResponseSchema>;
|
|
514
|
+
type SetInputDeinterlaceFieldOrderRequest = z.infer<typeof SetInputDeinterlaceFieldOrderRequestSchema>;
|
|
515
|
+
type GetInputPropertiesListPropertyItemsRequest = z.infer<typeof GetInputPropertiesListPropertyItemsRequestSchema>;
|
|
516
|
+
type GetInputPropertiesListPropertyItemsResponse = z.infer<typeof GetInputPropertiesListPropertyItemsResponseSchema>;
|
|
517
|
+
type PressInputPropertiesButtonRequest = z.infer<typeof PressInputPropertiesButtonRequestSchema>;
|
|
518
|
+
declare class InputsModule extends BaseModule {
|
|
519
|
+
getInputList(params?: GetInputListRequest): Promise<GetInputListResponse>;
|
|
520
|
+
getInputKindList(params?: GetInputKindListRequest): Promise<GetInputKindListResponse>;
|
|
521
|
+
getSpecialInputs(): Promise<GetSpecialInputsResponse>;
|
|
522
|
+
createInput(params: CreateInputRequest): Promise<CreateInputResponse>;
|
|
523
|
+
removeInput(params: RemoveInputRequest): Promise<void>;
|
|
524
|
+
setInputName(params: SetInputNameRequest): Promise<void>;
|
|
525
|
+
getInputDefaultSettings(params: GetInputDefaultSettingsRequest): Promise<GetInputDefaultSettingsResponse>;
|
|
526
|
+
getInputSettings(params: GetInputSettingsRequest): Promise<GetInputSettingsResponse>;
|
|
527
|
+
setInputSettings(params: SetInputSettingsRequest): Promise<void>;
|
|
528
|
+
getInputMute(params: GetInputMuteRequest): Promise<GetInputMuteResponse>;
|
|
529
|
+
setInputMute(params: SetInputMuteRequest): Promise<void>;
|
|
530
|
+
toggleInputMute(params: ToggleInputMuteRequest): Promise<ToggleInputMuteResponse>;
|
|
531
|
+
getInputVolume(params: GetInputVolumeRequest): Promise<GetInputVolumeResponse>;
|
|
532
|
+
setInputVolume(params: SetInputVolumeRequest): Promise<void>;
|
|
533
|
+
getInputAudioBalance(params: GetInputAudioBalanceRequest): Promise<GetInputAudioBalanceResponse>;
|
|
534
|
+
setInputAudioBalance(params: SetInputAudioBalanceRequest): Promise<void>;
|
|
535
|
+
getInputAudioSyncOffset(params: GetInputAudioSyncOffsetRequest): Promise<GetInputAudioSyncOffsetResponse>;
|
|
536
|
+
setInputAudioSyncOffset(params: SetInputAudioSyncOffsetRequest): Promise<void>;
|
|
537
|
+
getInputAudioMonitorType(params: GetInputAudioMonitorTypeRequest): Promise<GetInputAudioMonitorTypeResponse>;
|
|
538
|
+
setInputAudioMonitorType(params: SetInputAudioMonitorTypeRequest): Promise<void>;
|
|
539
|
+
getInputAudioTracks(params: GetInputAudioTracksRequest): Promise<GetInputAudioTracksResponse>;
|
|
540
|
+
setInputAudioTracks(params: SetInputAudioTracksRequest): Promise<void>;
|
|
541
|
+
getInputDeinterlaceMode(params: GetInputDeinterlaceModeRequest): Promise<GetInputDeinterlaceModeResponse>;
|
|
542
|
+
setInputDeinterlaceMode(params: SetInputDeinterlaceModeRequest): Promise<void>;
|
|
543
|
+
getInputDeinterlaceFieldOrder(params: GetInputDeinterlaceFieldOrderRequest): Promise<GetInputDeinterlaceFieldOrderResponse>;
|
|
544
|
+
setInputDeinterlaceFieldOrder(params: SetInputDeinterlaceFieldOrderRequest): Promise<void>;
|
|
545
|
+
getInputPropertiesListPropertyItems(params: GetInputPropertiesListPropertyItemsRequest): Promise<GetInputPropertiesListPropertyItemsResponse>;
|
|
546
|
+
pressInputPropertiesButton(params: PressInputPropertiesButtonRequest): Promise<void>;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
declare const GetMediaInputStatusRequestSchema: z.ZodObject<{
|
|
550
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
551
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
declare const SetMediaInputCursorRequestSchema: z.ZodObject<{
|
|
554
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
555
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
556
|
+
mediaCursor: z.ZodNumber;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
declare const OffsetMediaInputCursorRequestSchema: z.ZodObject<{
|
|
559
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
560
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
561
|
+
mediaCursorOffset: z.ZodNumber;
|
|
562
|
+
}, z.core.$strip>;
|
|
563
|
+
declare const TriggerMediaInputActionRequestSchema: z.ZodObject<{
|
|
564
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
565
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
566
|
+
mediaAction: z.ZodString;
|
|
567
|
+
}, z.core.$strip>;
|
|
568
|
+
declare const GetMediaInputStatusResponseSchema: z.ZodObject<{
|
|
569
|
+
mediaState: z.ZodString;
|
|
570
|
+
mediaDuration: z.ZodNullable<z.ZodNumber>;
|
|
571
|
+
mediaCursor: z.ZodNullable<z.ZodNumber>;
|
|
572
|
+
}, z.core.$strip>;
|
|
573
|
+
type GetMediaInputStatusRequest = z.infer<typeof GetMediaInputStatusRequestSchema>;
|
|
574
|
+
type GetMediaInputStatusResponse = z.infer<typeof GetMediaInputStatusResponseSchema>;
|
|
575
|
+
type SetMediaInputCursorRequest = z.infer<typeof SetMediaInputCursorRequestSchema>;
|
|
576
|
+
type OffsetMediaInputCursorRequest = z.infer<typeof OffsetMediaInputCursorRequestSchema>;
|
|
577
|
+
type TriggerMediaInputActionRequest = z.infer<typeof TriggerMediaInputActionRequestSchema>;
|
|
578
|
+
declare class MediaInputsModule extends BaseModule {
|
|
579
|
+
getMediaInputStatus(params: GetMediaInputStatusRequest): Promise<GetMediaInputStatusResponse>;
|
|
580
|
+
setMediaInputCursor(params: SetMediaInputCursorRequest): Promise<void>;
|
|
581
|
+
offsetMediaInputCursor(params: OffsetMediaInputCursorRequest): Promise<void>;
|
|
582
|
+
triggerMediaInputAction(params: TriggerMediaInputActionRequest): Promise<void>;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
declare const GetOutputStatusRequestSchema: z.ZodObject<{
|
|
586
|
+
outputName: z.ZodString;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
declare const ToggleOutputRequestSchema: z.ZodObject<{
|
|
589
|
+
outputName: z.ZodString;
|
|
590
|
+
}, z.core.$strip>;
|
|
591
|
+
declare const StartOutputRequestSchema: z.ZodObject<{
|
|
592
|
+
outputName: z.ZodString;
|
|
593
|
+
}, z.core.$strip>;
|
|
594
|
+
declare const StopOutputRequestSchema: z.ZodObject<{
|
|
595
|
+
outputName: z.ZodString;
|
|
596
|
+
}, z.core.$strip>;
|
|
597
|
+
declare const GetOutputSettingsRequestSchema: z.ZodObject<{
|
|
598
|
+
outputName: z.ZodString;
|
|
599
|
+
}, z.core.$strip>;
|
|
600
|
+
declare const SetOutputSettingsRequestSchema: z.ZodObject<{
|
|
601
|
+
outputName: z.ZodString;
|
|
602
|
+
outputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
603
|
+
}, z.core.$strip>;
|
|
604
|
+
declare const GetVirtualCamStatusResponseSchema: z.ZodObject<{
|
|
605
|
+
outputActive: z.ZodBoolean;
|
|
606
|
+
}, z.core.$strip>;
|
|
607
|
+
declare const ToggleVirtualCamResponseSchema: z.ZodObject<{
|
|
608
|
+
outputActive: z.ZodBoolean;
|
|
609
|
+
}, z.core.$strip>;
|
|
610
|
+
declare const GetReplayBufferStatusResponseSchema: z.ZodObject<{
|
|
611
|
+
outputActive: z.ZodBoolean;
|
|
612
|
+
}, z.core.$strip>;
|
|
613
|
+
declare const ToggleReplayBufferResponseSchema: z.ZodObject<{
|
|
614
|
+
outputActive: z.ZodBoolean;
|
|
615
|
+
}, z.core.$strip>;
|
|
616
|
+
declare const GetLastReplayBufferReplayResponseSchema: z.ZodObject<{
|
|
617
|
+
savedReplayPath: z.ZodString;
|
|
618
|
+
}, z.core.$strip>;
|
|
619
|
+
declare const GetOutputListResponseSchema: z.ZodObject<{
|
|
620
|
+
outputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
621
|
+
}, z.core.$strip>;
|
|
622
|
+
declare const GetOutputStatusResponseSchema: z.ZodObject<{
|
|
623
|
+
outputActive: z.ZodBoolean;
|
|
624
|
+
outputReconnecting: z.ZodBoolean;
|
|
625
|
+
outputTimecode: z.ZodString;
|
|
626
|
+
outputDuration: z.ZodNumber;
|
|
627
|
+
outputCongestion: z.ZodNumber;
|
|
628
|
+
outputBytes: z.ZodNumber;
|
|
629
|
+
outputSkippedFrames: z.ZodNumber;
|
|
630
|
+
outputTotalFrames: z.ZodNumber;
|
|
631
|
+
}, z.core.$strip>;
|
|
632
|
+
declare const ToggleOutputResponseSchema: z.ZodObject<{
|
|
633
|
+
outputActive: z.ZodBoolean;
|
|
634
|
+
}, z.core.$strip>;
|
|
635
|
+
declare const GetOutputSettingsResponseSchema: z.ZodObject<{
|
|
636
|
+
outputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
637
|
+
}, z.core.$strip>;
|
|
638
|
+
type GetVirtualCamStatusResponse = z.infer<typeof GetVirtualCamStatusResponseSchema>;
|
|
639
|
+
type ToggleVirtualCamResponse = z.infer<typeof ToggleVirtualCamResponseSchema>;
|
|
640
|
+
type GetReplayBufferStatusResponse = z.infer<typeof GetReplayBufferStatusResponseSchema>;
|
|
641
|
+
type ToggleReplayBufferResponse = z.infer<typeof ToggleReplayBufferResponseSchema>;
|
|
642
|
+
type GetLastReplayBufferReplayResponse = z.infer<typeof GetLastReplayBufferReplayResponseSchema>;
|
|
643
|
+
type GetOutputListResponse = z.infer<typeof GetOutputListResponseSchema>;
|
|
644
|
+
type GetOutputStatusRequest = z.infer<typeof GetOutputStatusRequestSchema>;
|
|
645
|
+
type GetOutputStatusResponse = z.infer<typeof GetOutputStatusResponseSchema>;
|
|
646
|
+
type ToggleOutputRequest = z.infer<typeof ToggleOutputRequestSchema>;
|
|
647
|
+
type ToggleOutputResponse = z.infer<typeof ToggleOutputResponseSchema>;
|
|
648
|
+
type StartOutputRequest = z.infer<typeof StartOutputRequestSchema>;
|
|
649
|
+
type StopOutputRequest = z.infer<typeof StopOutputRequestSchema>;
|
|
650
|
+
type GetOutputSettingsRequest = z.infer<typeof GetOutputSettingsRequestSchema>;
|
|
651
|
+
type GetOutputSettingsResponse = z.infer<typeof GetOutputSettingsResponseSchema>;
|
|
652
|
+
type SetOutputSettingsRequest = z.infer<typeof SetOutputSettingsRequestSchema>;
|
|
653
|
+
declare class OutputsModule extends BaseModule {
|
|
654
|
+
getVirtualCamStatus(): Promise<GetVirtualCamStatusResponse>;
|
|
655
|
+
toggleVirtualCam(): Promise<ToggleVirtualCamResponse>;
|
|
656
|
+
startVirtualCam(): Promise<void>;
|
|
657
|
+
stopVirtualCam(): Promise<void>;
|
|
658
|
+
getReplayBufferStatus(): Promise<GetReplayBufferStatusResponse>;
|
|
659
|
+
toggleReplayBuffer(): Promise<ToggleReplayBufferResponse>;
|
|
660
|
+
startReplayBuffer(): Promise<void>;
|
|
661
|
+
stopReplayBuffer(): Promise<void>;
|
|
662
|
+
saveReplayBuffer(): Promise<void>;
|
|
663
|
+
getLastReplayBufferReplay(): Promise<GetLastReplayBufferReplayResponse>;
|
|
664
|
+
getOutputList(): Promise<GetOutputListResponse>;
|
|
665
|
+
getOutputStatus(params: GetOutputStatusRequest): Promise<GetOutputStatusResponse>;
|
|
666
|
+
toggleOutput(params: ToggleOutputRequest): Promise<ToggleOutputResponse>;
|
|
667
|
+
startOutput(params: StartOutputRequest): Promise<void>;
|
|
668
|
+
stopOutput(params: StopOutputRequest): Promise<void>;
|
|
669
|
+
getOutputSettings(params: GetOutputSettingsRequest): Promise<GetOutputSettingsResponse>;
|
|
670
|
+
setOutputSettings(params: SetOutputSettingsRequest): Promise<void>;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
declare const CreateRecordChapterRequestSchema: z.ZodObject<{
|
|
674
|
+
chapterName: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, z.core.$strip>;
|
|
676
|
+
declare const GetRecordStatusResponseSchema: z.ZodObject<{
|
|
677
|
+
outputActive: z.ZodBoolean;
|
|
678
|
+
outputPaused: z.ZodBoolean;
|
|
679
|
+
outputTimecode: z.ZodString;
|
|
680
|
+
outputDuration: z.ZodNumber;
|
|
681
|
+
outputBytes: z.ZodNumber;
|
|
682
|
+
}, z.core.$strip>;
|
|
683
|
+
declare const ToggleRecordResponseSchema: z.ZodObject<{
|
|
684
|
+
outputActive: z.ZodBoolean;
|
|
685
|
+
}, z.core.$strip>;
|
|
686
|
+
declare const StopRecordResponseSchema: z.ZodObject<{
|
|
687
|
+
outputPath: z.ZodString;
|
|
688
|
+
}, z.core.$strip>;
|
|
689
|
+
type GetRecordStatusResponse = z.infer<typeof GetRecordStatusResponseSchema>;
|
|
690
|
+
type ToggleRecordResponse = z.infer<typeof ToggleRecordResponseSchema>;
|
|
691
|
+
type StopRecordResponse = z.infer<typeof StopRecordResponseSchema>;
|
|
692
|
+
type CreateRecordChapterRequest = z.infer<typeof CreateRecordChapterRequestSchema>;
|
|
693
|
+
declare class RecordModule extends BaseModule {
|
|
694
|
+
getRecordStatus(): Promise<GetRecordStatusResponse>;
|
|
695
|
+
toggleRecord(): Promise<ToggleRecordResponse>;
|
|
696
|
+
startRecord(): Promise<void>;
|
|
697
|
+
stopRecord(): Promise<StopRecordResponse>;
|
|
698
|
+
toggleRecordPause(): Promise<void>;
|
|
699
|
+
pauseRecord(): Promise<void>;
|
|
700
|
+
resumeRecord(): Promise<void>;
|
|
701
|
+
splitRecordFile(): Promise<void>;
|
|
702
|
+
createRecordChapter(params?: CreateRecordChapterRequest): Promise<void>;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
declare const GetSceneItemListRequestSchema: z.ZodObject<{
|
|
706
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
707
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
708
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
709
|
+
}, z.core.$strip>;
|
|
710
|
+
declare const GetGroupSceneItemListRequestSchema: z.ZodObject<{
|
|
711
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
712
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
713
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strip>;
|
|
715
|
+
declare const GetSceneItemIdRequestSchema: z.ZodObject<{
|
|
716
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
717
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
718
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
719
|
+
sourceName: z.ZodString;
|
|
720
|
+
searchOffset: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
}, z.core.$strip>;
|
|
722
|
+
declare const GetSceneItemSourceRequestSchema: z.ZodObject<{
|
|
723
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
724
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
725
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
726
|
+
sceneItemId: z.ZodNumber;
|
|
727
|
+
}, z.core.$strip>;
|
|
728
|
+
declare const CreateSceneItemRequestSchema: z.ZodObject<{
|
|
729
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
730
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
731
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
732
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
733
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
734
|
+
sceneItemEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
735
|
+
}, z.core.$strip>;
|
|
736
|
+
declare const RemoveSceneItemRequestSchema: z.ZodObject<{
|
|
737
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
738
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
739
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
740
|
+
sceneItemId: z.ZodNumber;
|
|
741
|
+
}, z.core.$strip>;
|
|
742
|
+
declare const DuplicateSceneItemRequestSchema: z.ZodObject<{
|
|
743
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
744
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
745
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
746
|
+
sceneItemId: z.ZodNumber;
|
|
747
|
+
destinationSceneName: z.ZodOptional<z.ZodString>;
|
|
748
|
+
destinationSceneUuid: z.ZodOptional<z.ZodString>;
|
|
749
|
+
}, z.core.$strip>;
|
|
750
|
+
declare const GetSceneItemTransformRequestSchema: z.ZodObject<{
|
|
751
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
752
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
753
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
754
|
+
sceneItemId: z.ZodNumber;
|
|
755
|
+
}, z.core.$strip>;
|
|
756
|
+
declare const SetSceneItemTransformRequestSchema: z.ZodObject<{
|
|
757
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
758
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
759
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
760
|
+
sceneItemId: z.ZodNumber;
|
|
761
|
+
sceneItemTransform: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
762
|
+
}, z.core.$strip>;
|
|
763
|
+
declare const GetSceneItemEnabledRequestSchema: z.ZodObject<{
|
|
764
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
765
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
766
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
767
|
+
sceneItemId: z.ZodNumber;
|
|
768
|
+
}, z.core.$strip>;
|
|
769
|
+
declare const SetSceneItemEnabledRequestSchema: z.ZodObject<{
|
|
770
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
771
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
772
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
773
|
+
sceneItemId: z.ZodNumber;
|
|
774
|
+
sceneItemEnabled: z.ZodBoolean;
|
|
775
|
+
}, z.core.$strip>;
|
|
776
|
+
declare const GetSceneItemLockedRequestSchema: z.ZodObject<{
|
|
777
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
778
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
779
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
780
|
+
sceneItemId: z.ZodNumber;
|
|
781
|
+
}, z.core.$strip>;
|
|
782
|
+
declare const SetSceneItemLockedRequestSchema: z.ZodObject<{
|
|
783
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
784
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
785
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
786
|
+
sceneItemId: z.ZodNumber;
|
|
787
|
+
sceneItemLocked: z.ZodBoolean;
|
|
788
|
+
}, z.core.$strip>;
|
|
789
|
+
declare const GetSceneItemIndexRequestSchema: z.ZodObject<{
|
|
790
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
791
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
792
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
793
|
+
sceneItemId: z.ZodNumber;
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
declare const SetSceneItemIndexRequestSchema: z.ZodObject<{
|
|
796
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
797
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
798
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
799
|
+
sceneItemId: z.ZodNumber;
|
|
800
|
+
sceneItemIndex: z.ZodNumber;
|
|
801
|
+
}, z.core.$strip>;
|
|
802
|
+
declare const GetSceneItemBlendModeRequestSchema: z.ZodObject<{
|
|
803
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
804
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
805
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
806
|
+
sceneItemId: z.ZodNumber;
|
|
807
|
+
}, z.core.$strip>;
|
|
808
|
+
declare const SetSceneItemBlendModeRequestSchema: z.ZodObject<{
|
|
809
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
810
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
811
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
812
|
+
sceneItemId: z.ZodNumber;
|
|
813
|
+
sceneItemBlendMode: z.ZodString;
|
|
814
|
+
}, z.core.$strip>;
|
|
815
|
+
declare const GetSceneItemListResponseSchema: z.ZodObject<{
|
|
816
|
+
sceneItems: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
817
|
+
}, z.core.$strip>;
|
|
818
|
+
declare const GetGroupSceneItemListResponseSchema: z.ZodObject<{
|
|
819
|
+
sceneItems: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
820
|
+
}, z.core.$strip>;
|
|
821
|
+
declare const GetSceneItemIdResponseSchema: z.ZodObject<{
|
|
822
|
+
sceneItemId: z.ZodNumber;
|
|
823
|
+
}, z.core.$strip>;
|
|
824
|
+
declare const GetSceneItemSourceResponseSchema: z.ZodObject<{
|
|
825
|
+
sourceName: z.ZodString;
|
|
826
|
+
sourceUuid: z.ZodString;
|
|
827
|
+
}, z.core.$strip>;
|
|
828
|
+
declare const CreateSceneItemResponseSchema: z.ZodObject<{
|
|
829
|
+
sceneItemId: z.ZodNumber;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
declare const DuplicateSceneItemResponseSchema: z.ZodObject<{
|
|
832
|
+
sceneItemId: z.ZodNumber;
|
|
833
|
+
}, z.core.$strip>;
|
|
834
|
+
declare const GetSceneItemTransformResponseSchema: z.ZodObject<{
|
|
835
|
+
sceneItemTransform: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
836
|
+
}, z.core.$strip>;
|
|
837
|
+
declare const GetSceneItemEnabledResponseSchema: z.ZodObject<{
|
|
838
|
+
sceneItemEnabled: z.ZodBoolean;
|
|
839
|
+
}, z.core.$strip>;
|
|
840
|
+
declare const GetSceneItemLockedResponseSchema: z.ZodObject<{
|
|
841
|
+
sceneItemLocked: z.ZodBoolean;
|
|
842
|
+
}, z.core.$strip>;
|
|
843
|
+
declare const GetSceneItemIndexResponseSchema: z.ZodObject<{
|
|
844
|
+
sceneItemIndex: z.ZodNumber;
|
|
845
|
+
}, z.core.$strip>;
|
|
846
|
+
declare const GetSceneItemBlendModeResponseSchema: z.ZodObject<{
|
|
847
|
+
sceneItemBlendMode: z.ZodString;
|
|
848
|
+
}, z.core.$strip>;
|
|
849
|
+
type GetSceneItemListRequest = z.infer<typeof GetSceneItemListRequestSchema>;
|
|
850
|
+
type GetSceneItemListResponse = z.infer<typeof GetSceneItemListResponseSchema>;
|
|
851
|
+
type GetGroupSceneItemListRequest = z.infer<typeof GetGroupSceneItemListRequestSchema>;
|
|
852
|
+
type GetGroupSceneItemListResponse = z.infer<typeof GetGroupSceneItemListResponseSchema>;
|
|
853
|
+
type GetSceneItemIdRequest = z.infer<typeof GetSceneItemIdRequestSchema>;
|
|
854
|
+
type GetSceneItemIdResponse = z.infer<typeof GetSceneItemIdResponseSchema>;
|
|
855
|
+
type GetSceneItemSourceRequest = z.infer<typeof GetSceneItemSourceRequestSchema>;
|
|
856
|
+
type GetSceneItemSourceResponse = z.infer<typeof GetSceneItemSourceResponseSchema>;
|
|
857
|
+
type CreateSceneItemRequest = z.infer<typeof CreateSceneItemRequestSchema>;
|
|
858
|
+
type CreateSceneItemResponse = z.infer<typeof CreateSceneItemResponseSchema>;
|
|
859
|
+
type RemoveSceneItemRequest = z.infer<typeof RemoveSceneItemRequestSchema>;
|
|
860
|
+
type DuplicateSceneItemRequest = z.infer<typeof DuplicateSceneItemRequestSchema>;
|
|
861
|
+
type DuplicateSceneItemResponse = z.infer<typeof DuplicateSceneItemResponseSchema>;
|
|
862
|
+
type GetSceneItemTransformRequest = z.infer<typeof GetSceneItemTransformRequestSchema>;
|
|
863
|
+
type GetSceneItemTransformResponse = z.infer<typeof GetSceneItemTransformResponseSchema>;
|
|
864
|
+
type SetSceneItemTransformRequest = z.infer<typeof SetSceneItemTransformRequestSchema>;
|
|
865
|
+
type GetSceneItemEnabledRequest = z.infer<typeof GetSceneItemEnabledRequestSchema>;
|
|
866
|
+
type GetSceneItemEnabledResponse = z.infer<typeof GetSceneItemEnabledResponseSchema>;
|
|
867
|
+
type SetSceneItemEnabledRequest = z.infer<typeof SetSceneItemEnabledRequestSchema>;
|
|
868
|
+
type GetSceneItemLockedRequest = z.infer<typeof GetSceneItemLockedRequestSchema>;
|
|
869
|
+
type GetSceneItemLockedResponse = z.infer<typeof GetSceneItemLockedResponseSchema>;
|
|
870
|
+
type SetSceneItemLockedRequest = z.infer<typeof SetSceneItemLockedRequestSchema>;
|
|
871
|
+
type GetSceneItemIndexRequest = z.infer<typeof GetSceneItemIndexRequestSchema>;
|
|
872
|
+
type GetSceneItemIndexResponse = z.infer<typeof GetSceneItemIndexResponseSchema>;
|
|
873
|
+
type SetSceneItemIndexRequest = z.infer<typeof SetSceneItemIndexRequestSchema>;
|
|
874
|
+
type GetSceneItemBlendModeRequest = z.infer<typeof GetSceneItemBlendModeRequestSchema>;
|
|
875
|
+
type GetSceneItemBlendModeResponse = z.infer<typeof GetSceneItemBlendModeResponseSchema>;
|
|
876
|
+
type SetSceneItemBlendModeRequest = z.infer<typeof SetSceneItemBlendModeRequestSchema>;
|
|
877
|
+
declare class SceneItemsModule extends BaseModule {
|
|
878
|
+
getSceneItemList(params: GetSceneItemListRequest): Promise<GetSceneItemListResponse>;
|
|
879
|
+
getGroupSceneItemList(params: GetGroupSceneItemListRequest): Promise<GetGroupSceneItemListResponse>;
|
|
880
|
+
getSceneItemId(params: GetSceneItemIdRequest): Promise<GetSceneItemIdResponse>;
|
|
881
|
+
getSceneItemSource(params: GetSceneItemSourceRequest): Promise<GetSceneItemSourceResponse>;
|
|
882
|
+
createSceneItem(params: CreateSceneItemRequest): Promise<CreateSceneItemResponse>;
|
|
883
|
+
removeSceneItem(params: RemoveSceneItemRequest): Promise<void>;
|
|
884
|
+
duplicateSceneItem(params: DuplicateSceneItemRequest): Promise<DuplicateSceneItemResponse>;
|
|
885
|
+
getSceneItemTransform(params: GetSceneItemTransformRequest): Promise<GetSceneItemTransformResponse>;
|
|
886
|
+
setSceneItemTransform(params: SetSceneItemTransformRequest): Promise<void>;
|
|
887
|
+
getSceneItemEnabled(params: GetSceneItemEnabledRequest): Promise<GetSceneItemEnabledResponse>;
|
|
888
|
+
setSceneItemEnabled(params: SetSceneItemEnabledRequest): Promise<void>;
|
|
889
|
+
getSceneItemLocked(params: GetSceneItemLockedRequest): Promise<GetSceneItemLockedResponse>;
|
|
890
|
+
setSceneItemLocked(params: SetSceneItemLockedRequest): Promise<void>;
|
|
891
|
+
getSceneItemIndex(params: GetSceneItemIndexRequest): Promise<GetSceneItemIndexResponse>;
|
|
892
|
+
setSceneItemIndex(params: SetSceneItemIndexRequest): Promise<void>;
|
|
893
|
+
getSceneItemBlendMode(params: GetSceneItemBlendModeRequest): Promise<GetSceneItemBlendModeResponse>;
|
|
894
|
+
setSceneItemBlendMode(params: SetSceneItemBlendModeRequest): Promise<void>;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
declare const GetSceneListRequestSchema: z.ZodObject<{
|
|
898
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
899
|
+
}, z.core.$strip>;
|
|
900
|
+
declare const SetCurrentProgramSceneRequestSchema: z.ZodObject<{
|
|
901
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
902
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
903
|
+
}, z.core.$strip>;
|
|
904
|
+
declare const SetCurrentPreviewSceneRequestSchema: z.ZodObject<{
|
|
905
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
906
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
907
|
+
}, z.core.$strip>;
|
|
908
|
+
declare const CreateSceneRequestSchema: z.ZodObject<{
|
|
909
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
910
|
+
sceneName: z.ZodString;
|
|
911
|
+
}, z.core.$strip>;
|
|
912
|
+
declare const RemoveSceneRequestSchema: z.ZodObject<{
|
|
913
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
914
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
915
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
916
|
+
}, z.core.$strip>;
|
|
917
|
+
declare const SetSceneNameRequestSchema: z.ZodObject<{
|
|
918
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
919
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
920
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
921
|
+
newSceneName: z.ZodString;
|
|
922
|
+
}, z.core.$strip>;
|
|
923
|
+
declare const GetSceneSceneTransitionOverrideRequestSchema: z.ZodObject<{
|
|
924
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
925
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
926
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
927
|
+
}, z.core.$strip>;
|
|
928
|
+
declare const SetSceneSceneTransitionOverrideRequestSchema: z.ZodObject<{
|
|
929
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
930
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
931
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
932
|
+
transitionName: z.ZodOptional<z.ZodString>;
|
|
933
|
+
transitionDuration: z.ZodOptional<z.ZodNumber>;
|
|
934
|
+
}, z.core.$strip>;
|
|
935
|
+
declare const GetSceneListResponseSchema: z.ZodObject<{
|
|
936
|
+
currentProgramSceneName: z.ZodNullable<z.ZodString>;
|
|
937
|
+
currentProgramSceneUuid: z.ZodNullable<z.ZodString>;
|
|
938
|
+
currentPreviewSceneName: z.ZodNullable<z.ZodString>;
|
|
939
|
+
currentPreviewSceneUuid: z.ZodNullable<z.ZodString>;
|
|
940
|
+
scenes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
declare const GetGroupListResponseSchema: z.ZodObject<{
|
|
943
|
+
groups: z.ZodArray<z.ZodString>;
|
|
944
|
+
}, z.core.$strip>;
|
|
945
|
+
declare const GetCurrentProgramSceneResponseSchema: z.ZodObject<{
|
|
946
|
+
sceneName: z.ZodString;
|
|
947
|
+
sceneUuid: z.ZodString;
|
|
948
|
+
currentProgramSceneName: z.ZodString;
|
|
949
|
+
currentProgramSceneUuid: z.ZodString;
|
|
950
|
+
}, z.core.$strip>;
|
|
951
|
+
declare const GetCurrentPreviewSceneResponseSchema: z.ZodObject<{
|
|
952
|
+
sceneName: z.ZodString;
|
|
953
|
+
sceneUuid: z.ZodString;
|
|
954
|
+
currentPreviewSceneName: z.ZodString;
|
|
955
|
+
currentPreviewSceneUuid: z.ZodString;
|
|
956
|
+
}, z.core.$strip>;
|
|
957
|
+
declare const CreateSceneResponseSchema: z.ZodObject<{
|
|
958
|
+
sceneUuid: z.ZodString;
|
|
959
|
+
}, z.core.$strip>;
|
|
960
|
+
declare const GetSceneSceneTransitionOverrideResponseSchema: z.ZodObject<{
|
|
961
|
+
transitionName: z.ZodNullable<z.ZodString>;
|
|
962
|
+
transitionDuration: z.ZodNullable<z.ZodNumber>;
|
|
963
|
+
}, z.core.$strip>;
|
|
964
|
+
type GetSceneListRequest = z.infer<typeof GetSceneListRequestSchema>;
|
|
965
|
+
type GetSceneListResponse = z.infer<typeof GetSceneListResponseSchema>;
|
|
966
|
+
type GetGroupListResponse = z.infer<typeof GetGroupListResponseSchema>;
|
|
967
|
+
type GetCurrentProgramSceneResponse = z.infer<typeof GetCurrentProgramSceneResponseSchema>;
|
|
968
|
+
type SetCurrentProgramSceneRequest = z.infer<typeof SetCurrentProgramSceneRequestSchema>;
|
|
969
|
+
type GetCurrentPreviewSceneResponse = z.infer<typeof GetCurrentPreviewSceneResponseSchema>;
|
|
970
|
+
type SetCurrentPreviewSceneRequest = z.infer<typeof SetCurrentPreviewSceneRequestSchema>;
|
|
971
|
+
type CreateSceneRequest = z.infer<typeof CreateSceneRequestSchema>;
|
|
972
|
+
type CreateSceneResponse = z.infer<typeof CreateSceneResponseSchema>;
|
|
973
|
+
type RemoveSceneRequest = z.infer<typeof RemoveSceneRequestSchema>;
|
|
974
|
+
type SetSceneNameRequest = z.infer<typeof SetSceneNameRequestSchema>;
|
|
975
|
+
type GetSceneSceneTransitionOverrideRequest = z.infer<typeof GetSceneSceneTransitionOverrideRequestSchema>;
|
|
976
|
+
type GetSceneSceneTransitionOverrideResponse = z.infer<typeof GetSceneSceneTransitionOverrideResponseSchema>;
|
|
977
|
+
type SetSceneSceneTransitionOverrideRequest = z.infer<typeof SetSceneSceneTransitionOverrideRequestSchema>;
|
|
978
|
+
declare class ScenesModule extends BaseModule {
|
|
979
|
+
getSceneList(params?: GetSceneListRequest): Promise<GetSceneListResponse>;
|
|
980
|
+
getGroupList(): Promise<GetGroupListResponse>;
|
|
981
|
+
getCurrentProgramScene(): Promise<GetCurrentProgramSceneResponse>;
|
|
982
|
+
setCurrentProgramScene(params: SetCurrentProgramSceneRequest): Promise<void>;
|
|
983
|
+
getCurrentPreviewScene(): Promise<GetCurrentPreviewSceneResponse>;
|
|
984
|
+
setCurrentPreviewScene(params: SetCurrentPreviewSceneRequest): Promise<void>;
|
|
985
|
+
createScene(params: CreateSceneRequest): Promise<CreateSceneResponse>;
|
|
986
|
+
removeScene(params: RemoveSceneRequest): Promise<void>;
|
|
987
|
+
setSceneName(params: SetSceneNameRequest): Promise<void>;
|
|
988
|
+
getSceneSceneTransitionOverride(params: GetSceneSceneTransitionOverrideRequest): Promise<GetSceneSceneTransitionOverrideResponse>;
|
|
989
|
+
setSceneSceneTransitionOverride(params: SetSceneSceneTransitionOverrideRequest): Promise<void>;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
declare const GetSourceActiveRequestSchema: z.ZodObject<{
|
|
993
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
994
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
995
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
996
|
+
}, z.core.$strip>;
|
|
997
|
+
declare const GetSourceScreenshotRequestSchema: z.ZodObject<{
|
|
998
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
999
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
imageFormat: z.ZodString;
|
|
1002
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
1003
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
1004
|
+
imageCompressionQuality: z.ZodOptional<z.ZodNumber>;
|
|
1005
|
+
}, z.core.$strip>;
|
|
1006
|
+
declare const SaveSourceScreenshotRequestSchema: z.ZodObject<{
|
|
1007
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
imageFormat: z.ZodString;
|
|
1011
|
+
imageFilePath: z.ZodString;
|
|
1012
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
1013
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
1014
|
+
imageCompressionQuality: z.ZodOptional<z.ZodNumber>;
|
|
1015
|
+
}, z.core.$strip>;
|
|
1016
|
+
declare const GetSourceActiveResponseSchema: z.ZodObject<{
|
|
1017
|
+
videoActive: z.ZodBoolean;
|
|
1018
|
+
videoShowing: z.ZodBoolean;
|
|
1019
|
+
}, z.core.$strip>;
|
|
1020
|
+
declare const GetSourceScreenshotResponseSchema: z.ZodObject<{
|
|
1021
|
+
imageData: z.ZodString;
|
|
1022
|
+
}, z.core.$strip>;
|
|
1023
|
+
declare const GetCanvasListResponseSchema: z.ZodObject<{
|
|
1024
|
+
canvases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
type GetSourceActiveRequest = z.infer<typeof GetSourceActiveRequestSchema>;
|
|
1027
|
+
type GetSourceActiveResponse = z.infer<typeof GetSourceActiveResponseSchema>;
|
|
1028
|
+
type GetSourceScreenshotRequest = z.infer<typeof GetSourceScreenshotRequestSchema>;
|
|
1029
|
+
type GetSourceScreenshotResponse = z.infer<typeof GetSourceScreenshotResponseSchema>;
|
|
1030
|
+
type SaveSourceScreenshotRequest = z.infer<typeof SaveSourceScreenshotRequestSchema>;
|
|
1031
|
+
type GetCanvasListResponse = z.infer<typeof GetCanvasListResponseSchema>;
|
|
1032
|
+
declare class SourcesModule extends BaseModule {
|
|
1033
|
+
getSourceActive(params: GetSourceActiveRequest): Promise<GetSourceActiveResponse>;
|
|
1034
|
+
getSourceScreenshot(params: GetSourceScreenshotRequest): Promise<GetSourceScreenshotResponse>;
|
|
1035
|
+
saveSourceScreenshot(params: SaveSourceScreenshotRequest): Promise<void>;
|
|
1036
|
+
getCanvasList(): Promise<GetCanvasListResponse>;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
declare const SendStreamCaptionRequestSchema: z.ZodObject<{
|
|
1040
|
+
captionText: z.ZodString;
|
|
1041
|
+
}, z.core.$strip>;
|
|
1042
|
+
declare const GetStreamStatusResponseSchema: z.ZodObject<{
|
|
1043
|
+
outputActive: z.ZodBoolean;
|
|
1044
|
+
outputReconnecting: z.ZodBoolean;
|
|
1045
|
+
outputTimecode: z.ZodString;
|
|
1046
|
+
outputDuration: z.ZodNumber;
|
|
1047
|
+
outputCongestion: z.ZodNumber;
|
|
1048
|
+
outputBytes: z.ZodNumber;
|
|
1049
|
+
outputSkippedFrames: z.ZodNumber;
|
|
1050
|
+
outputTotalFrames: z.ZodNumber;
|
|
1051
|
+
}, z.core.$strip>;
|
|
1052
|
+
declare const ToggleStreamResponseSchema: z.ZodObject<{
|
|
1053
|
+
outputActive: z.ZodBoolean;
|
|
1054
|
+
}, z.core.$strip>;
|
|
1055
|
+
type GetStreamStatusResponse = z.infer<typeof GetStreamStatusResponseSchema>;
|
|
1056
|
+
type ToggleStreamResponse = z.infer<typeof ToggleStreamResponseSchema>;
|
|
1057
|
+
type SendStreamCaptionRequest = z.infer<typeof SendStreamCaptionRequestSchema>;
|
|
1058
|
+
declare class StreamModule extends BaseModule {
|
|
1059
|
+
getStreamStatus(): Promise<GetStreamStatusResponse>;
|
|
1060
|
+
toggleStream(): Promise<ToggleStreamResponse>;
|
|
1061
|
+
startStream(): Promise<void>;
|
|
1062
|
+
stopStream(): Promise<void>;
|
|
1063
|
+
sendStreamCaption(params: SendStreamCaptionRequest): Promise<void>;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
declare const SetCurrentSceneTransitionRequestSchema: z.ZodObject<{
|
|
1067
|
+
transitionName: z.ZodString;
|
|
1068
|
+
}, z.core.$strip>;
|
|
1069
|
+
declare const SetCurrentSceneTransitionDurationRequestSchema: z.ZodObject<{
|
|
1070
|
+
transitionDuration: z.ZodNumber;
|
|
1071
|
+
}, z.core.$strip>;
|
|
1072
|
+
declare const SetCurrentSceneTransitionSettingsRequestSchema: z.ZodObject<{
|
|
1073
|
+
transitionSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1074
|
+
overlay: z.ZodOptional<z.ZodBoolean>;
|
|
1075
|
+
}, z.core.$strip>;
|
|
1076
|
+
declare const SetTBarPositionRequestSchema: z.ZodObject<{
|
|
1077
|
+
position: z.ZodNumber;
|
|
1078
|
+
release: z.ZodOptional<z.ZodBoolean>;
|
|
1079
|
+
}, z.core.$strip>;
|
|
1080
|
+
declare const GetTransitionKindListResponseSchema: z.ZodObject<{
|
|
1081
|
+
transitionKinds: z.ZodArray<z.ZodString>;
|
|
1082
|
+
}, z.core.$strip>;
|
|
1083
|
+
declare const GetSceneTransitionListResponseSchema: z.ZodObject<{
|
|
1084
|
+
currentSceneTransitionName: z.ZodNullable<z.ZodString>;
|
|
1085
|
+
currentSceneTransitionUuid: z.ZodNullable<z.ZodString>;
|
|
1086
|
+
currentSceneTransitionKind: z.ZodNullable<z.ZodString>;
|
|
1087
|
+
transitions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1088
|
+
}, z.core.$strip>;
|
|
1089
|
+
declare const GetCurrentSceneTransitionResponseSchema: z.ZodObject<{
|
|
1090
|
+
transitionName: z.ZodString;
|
|
1091
|
+
transitionUuid: z.ZodString;
|
|
1092
|
+
transitionKind: z.ZodString;
|
|
1093
|
+
transitionFixed: z.ZodBoolean;
|
|
1094
|
+
transitionDuration: z.ZodNullable<z.ZodNumber>;
|
|
1095
|
+
transitionConfigurable: z.ZodBoolean;
|
|
1096
|
+
transitionSettings: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1097
|
+
}, z.core.$strip>;
|
|
1098
|
+
declare const GetCurrentSceneTransitionCursorResponseSchema: z.ZodObject<{
|
|
1099
|
+
transitionCursor: z.ZodNumber;
|
|
1100
|
+
}, z.core.$strip>;
|
|
1101
|
+
type GetTransitionKindListResponse = z.infer<typeof GetTransitionKindListResponseSchema>;
|
|
1102
|
+
type GetSceneTransitionListResponse = z.infer<typeof GetSceneTransitionListResponseSchema>;
|
|
1103
|
+
type GetCurrentSceneTransitionResponse = z.infer<typeof GetCurrentSceneTransitionResponseSchema>;
|
|
1104
|
+
type SetCurrentSceneTransitionRequest = z.infer<typeof SetCurrentSceneTransitionRequestSchema>;
|
|
1105
|
+
type SetCurrentSceneTransitionDurationRequest = z.infer<typeof SetCurrentSceneTransitionDurationRequestSchema>;
|
|
1106
|
+
type SetCurrentSceneTransitionSettingsRequest = z.infer<typeof SetCurrentSceneTransitionSettingsRequestSchema>;
|
|
1107
|
+
type GetCurrentSceneTransitionCursorResponse = z.infer<typeof GetCurrentSceneTransitionCursorResponseSchema>;
|
|
1108
|
+
type SetTBarPositionRequest = z.infer<typeof SetTBarPositionRequestSchema>;
|
|
1109
|
+
declare class TransitionsModule extends BaseModule {
|
|
1110
|
+
getTransitionKindList(): Promise<GetTransitionKindListResponse>;
|
|
1111
|
+
getSceneTransitionList(): Promise<GetSceneTransitionListResponse>;
|
|
1112
|
+
getCurrentSceneTransition(): Promise<GetCurrentSceneTransitionResponse>;
|
|
1113
|
+
setCurrentSceneTransition(params: SetCurrentSceneTransitionRequest): Promise<void>;
|
|
1114
|
+
setCurrentSceneTransitionDuration(params: SetCurrentSceneTransitionDurationRequest): Promise<void>;
|
|
1115
|
+
setCurrentSceneTransitionSettings(params: SetCurrentSceneTransitionSettingsRequest): Promise<void>;
|
|
1116
|
+
getCurrentSceneTransitionCursor(): Promise<GetCurrentSceneTransitionCursorResponse>;
|
|
1117
|
+
triggerStudioModeTransition(): Promise<void>;
|
|
1118
|
+
setTBarPosition(params: SetTBarPositionRequest): Promise<void>;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
declare const SetStudioModeEnabledRequestSchema: z.ZodObject<{
|
|
1122
|
+
studioModeEnabled: z.ZodBoolean;
|
|
1123
|
+
}, z.core.$strip>;
|
|
1124
|
+
declare const OpenInputPropertiesDialogRequestSchema: z.ZodObject<{
|
|
1125
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
}, z.core.$strip>;
|
|
1128
|
+
declare const OpenInputFiltersDialogRequestSchema: z.ZodObject<{
|
|
1129
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
}, z.core.$strip>;
|
|
1132
|
+
declare const OpenInputInteractDialogRequestSchema: z.ZodObject<{
|
|
1133
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
}, z.core.$strip>;
|
|
1136
|
+
declare const OpenVideoMixProjectorRequestSchema: z.ZodObject<{
|
|
1137
|
+
videoMixType: z.ZodString;
|
|
1138
|
+
monitorIndex: z.ZodOptional<z.ZodNumber>;
|
|
1139
|
+
projectorGeometry: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
}, z.core.$strip>;
|
|
1141
|
+
declare const OpenSourceProjectorRequestSchema: z.ZodObject<{
|
|
1142
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
monitorIndex: z.ZodOptional<z.ZodNumber>;
|
|
1146
|
+
projectorGeometry: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
}, z.core.$strip>;
|
|
1148
|
+
declare const GetStudioModeEnabledResponseSchema: z.ZodObject<{
|
|
1149
|
+
studioModeEnabled: z.ZodBoolean;
|
|
1150
|
+
}, z.core.$strip>;
|
|
1151
|
+
declare const GetMonitorListResponseSchema: z.ZodObject<{
|
|
1152
|
+
monitors: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1153
|
+
}, z.core.$strip>;
|
|
1154
|
+
type GetStudioModeEnabledResponse = z.infer<typeof GetStudioModeEnabledResponseSchema>;
|
|
1155
|
+
type SetStudioModeEnabledRequest = z.infer<typeof SetStudioModeEnabledRequestSchema>;
|
|
1156
|
+
type OpenInputPropertiesDialogRequest = z.infer<typeof OpenInputPropertiesDialogRequestSchema>;
|
|
1157
|
+
type OpenInputFiltersDialogRequest = z.infer<typeof OpenInputFiltersDialogRequestSchema>;
|
|
1158
|
+
type OpenInputInteractDialogRequest = z.infer<typeof OpenInputInteractDialogRequestSchema>;
|
|
1159
|
+
type GetMonitorListResponse = z.infer<typeof GetMonitorListResponseSchema>;
|
|
1160
|
+
type OpenVideoMixProjectorRequest = z.infer<typeof OpenVideoMixProjectorRequestSchema>;
|
|
1161
|
+
type OpenSourceProjectorRequest = z.infer<typeof OpenSourceProjectorRequestSchema>;
|
|
1162
|
+
declare class UiModule extends BaseModule {
|
|
1163
|
+
getStudioModeEnabled(): Promise<GetStudioModeEnabledResponse>;
|
|
1164
|
+
setStudioModeEnabled(params: SetStudioModeEnabledRequest): Promise<void>;
|
|
1165
|
+
openInputPropertiesDialog(params: OpenInputPropertiesDialogRequest): Promise<void>;
|
|
1166
|
+
openInputFiltersDialog(params: OpenInputFiltersDialogRequest): Promise<void>;
|
|
1167
|
+
openInputInteractDialog(params: OpenInputInteractDialogRequest): Promise<void>;
|
|
1168
|
+
getMonitorList(): Promise<GetMonitorListResponse>;
|
|
1169
|
+
openVideoMixProjector(params: OpenVideoMixProjectorRequest): Promise<void>;
|
|
1170
|
+
openSourceProjector(params: OpenSourceProjectorRequest): Promise<void>;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
declare class OBSDK {
|
|
1174
|
+
private obs;
|
|
1175
|
+
readonly general: GeneralModule;
|
|
1176
|
+
readonly config: ConfigModule;
|
|
1177
|
+
readonly sources: SourcesModule;
|
|
1178
|
+
readonly scenes: ScenesModule;
|
|
1179
|
+
readonly inputs: InputsModule;
|
|
1180
|
+
readonly transitions: TransitionsModule;
|
|
1181
|
+
readonly filters: FiltersModule;
|
|
1182
|
+
readonly sceneItems: SceneItemsModule;
|
|
1183
|
+
readonly outputs: OutputsModule;
|
|
1184
|
+
readonly stream: StreamModule;
|
|
1185
|
+
readonly record: RecordModule;
|
|
1186
|
+
readonly mediaInputs: MediaInputsModule;
|
|
1187
|
+
readonly ui: UiModule;
|
|
1188
|
+
constructor();
|
|
1189
|
+
connect(url?: string, password?: string, identificationParams?: object): Promise<void>;
|
|
1190
|
+
disconnect(): Promise<void>;
|
|
1191
|
+
callBatch: OBSWebSocket["callBatch"];
|
|
1192
|
+
on: OBSWebSocket["on"];
|
|
1193
|
+
once: OBSWebSocket["once"];
|
|
1194
|
+
off: OBSWebSocket["off"];
|
|
1195
|
+
addListener: OBSWebSocket["addListener"];
|
|
1196
|
+
removeListener: OBSWebSocket["removeListener"];
|
|
1197
|
+
removeAllListeners: OBSWebSocket["removeAllListeners"];
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export { ConfigModule, FiltersModule, GeneralModule, InputsModule, MediaInputsModule, OBSDK, OutputsModule, RecordModule, SceneItemsModule, ScenesModule, SourcesModule, StreamModule, TransitionsModule, UiModule };
|
|
1201
|
+
export type { BroadcastCustomEventRequest, CallVendorRequestRequest, CallVendorRequestResponse, CreateInputRequest, CreateInputResponse, CreateProfileRequest, CreateRecordChapterRequest, CreateSceneCollectionRequest, CreateSceneItemRequest, CreateSceneItemResponse, CreateSceneRequest, CreateSceneResponse, CreateSourceFilterRequest, DuplicateSceneItemRequest, DuplicateSceneItemResponse, GetCanvasListResponse, GetCurrentPreviewSceneResponse, GetCurrentProgramSceneResponse, GetCurrentSceneTransitionCursorResponse, GetCurrentSceneTransitionResponse, GetGroupListResponse, GetGroupSceneItemListRequest, GetGroupSceneItemListResponse, GetHotkeyListResponse, GetInputAudioBalanceRequest, GetInputAudioBalanceResponse, GetInputAudioMonitorTypeRequest, GetInputAudioMonitorTypeResponse, GetInputAudioSyncOffsetRequest, GetInputAudioSyncOffsetResponse, GetInputAudioTracksRequest, GetInputAudioTracksResponse, GetInputDefaultSettingsRequest, GetInputDefaultSettingsResponse, GetInputDeinterlaceFieldOrderRequest, GetInputDeinterlaceFieldOrderResponse, GetInputDeinterlaceModeRequest, GetInputDeinterlaceModeResponse, GetInputKindListRequest, GetInputKindListResponse, GetInputListRequest, GetInputListResponse, GetInputMuteRequest, GetInputMuteResponse, GetInputPropertiesListPropertyItemsRequest, GetInputPropertiesListPropertyItemsResponse, GetInputSettingsRequest, GetInputSettingsResponse, GetInputVolumeRequest, GetInputVolumeResponse, GetLastReplayBufferReplayResponse, GetMediaInputStatusRequest, GetMediaInputStatusResponse, GetMonitorListResponse, GetOutputListResponse, GetOutputSettingsRequest, GetOutputSettingsResponse, GetOutputStatusRequest, GetOutputStatusResponse, GetPersistentDataRequest, GetPersistentDataResponse, GetProfileListResponse, GetProfileParameterRequest, GetProfileParameterResponse, GetRecordDirectoryResponse, GetRecordStatusResponse, GetReplayBufferStatusResponse, GetSceneCollectionListResponse, GetSceneItemBlendModeRequest, GetSceneItemBlendModeResponse, GetSceneItemEnabledRequest, GetSceneItemEnabledResponse, GetSceneItemIdRequest, GetSceneItemIdResponse, GetSceneItemIndexRequest, GetSceneItemIndexResponse, GetSceneItemListRequest, GetSceneItemListResponse, GetSceneItemLockedRequest, GetSceneItemLockedResponse, GetSceneItemSourceRequest, GetSceneItemSourceResponse, GetSceneItemTransformRequest, GetSceneItemTransformResponse, GetSceneListRequest, GetSceneListResponse, GetSceneSceneTransitionOverrideRequest, GetSceneSceneTransitionOverrideResponse, GetSceneTransitionListResponse, GetSourceActiveRequest, GetSourceActiveResponse, GetSourceFilterDefaultSettingsRequest, GetSourceFilterDefaultSettingsResponse, GetSourceFilterKindListResponse, GetSourceFilterListRequest, GetSourceFilterListResponse, GetSourceFilterRequest, GetSourceFilterResponse, GetSourceScreenshotRequest, GetSourceScreenshotResponse, GetSpecialInputsResponse, GetStatsResponse, GetStreamServiceSettingsResponse, GetStreamStatusResponse, GetStudioModeEnabledResponse, GetTransitionKindListResponse, GetVersionResponse, GetVideoSettingsResponse, GetVirtualCamStatusResponse, OffsetMediaInputCursorRequest, OpenInputFiltersDialogRequest, OpenInputInteractDialogRequest, OpenInputPropertiesDialogRequest, OpenSourceProjectorRequest, OpenVideoMixProjectorRequest, PressInputPropertiesButtonRequest, RemoveInputRequest, RemoveProfileRequest, RemoveSceneItemRequest, RemoveSceneRequest, RemoveSourceFilterRequest, SaveSourceScreenshotRequest, SendStreamCaptionRequest, SetCurrentPreviewSceneRequest, SetCurrentProfileRequest, SetCurrentProgramSceneRequest, SetCurrentSceneCollectionRequest, SetCurrentSceneTransitionDurationRequest, SetCurrentSceneTransitionRequest, SetCurrentSceneTransitionSettingsRequest, SetInputAudioBalanceRequest, SetInputAudioMonitorTypeRequest, SetInputAudioSyncOffsetRequest, SetInputAudioTracksRequest, SetInputDeinterlaceFieldOrderRequest, SetInputDeinterlaceModeRequest, SetInputMuteRequest, SetInputNameRequest, SetInputSettingsRequest, SetInputVolumeRequest, SetMediaInputCursorRequest, SetOutputSettingsRequest, SetPersistentDataRequest, SetProfileParameterRequest, SetRecordDirectoryRequest, SetSceneItemBlendModeRequest, SetSceneItemEnabledRequest, SetSceneItemIndexRequest, SetSceneItemLockedRequest, SetSceneItemTransformRequest, SetSceneNameRequest, SetSceneSceneTransitionOverrideRequest, SetSourceFilterEnabledRequest, SetSourceFilterIndexRequest, SetSourceFilterNameRequest, SetSourceFilterSettingsRequest, SetStreamServiceSettingsRequest, SetStudioModeEnabledRequest, SetTBarPositionRequest, SetVideoSettingsRequest, StartOutputRequest, StopOutputRequest, StopRecordResponse, ToggleInputMuteRequest, ToggleInputMuteResponse, ToggleOutputRequest, ToggleOutputResponse, ToggleRecordResponse, ToggleReplayBufferResponse, ToggleStreamResponse, ToggleVirtualCamResponse, TriggerHotkeyByKeySequenceRequest, TriggerHotkeyByNameRequest, TriggerMediaInputActionRequest };
|