obs-ws-sdk 0.0.1 → 0.0.2
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.cjs +602 -0
- package/dist/index.d.cts +1219 -0
- package/dist/index.d.mts +1219 -0
- package/dist/index.mjs +602 -0
- package/dist/modules/config.d.ts +129 -0
- package/dist/modules/config.d.ts.map +1 -1
- package/dist/modules/config.js +70 -0
- package/dist/modules/config.js.map +1 -1
- package/dist/modules/filters.d.ts +102 -0
- package/dist/modules/filters.d.ts.map +1 -1
- package/dist/modules/filters.js +42 -0
- package/dist/modules/filters.js.map +1 -1
- package/dist/modules/general.d.ts +73 -0
- package/dist/modules/general.d.ts.map +1 -1
- package/dist/modules/general.js +30 -0
- package/dist/modules/general.js.map +1 -1
- package/dist/modules/inputs.d.ts +251 -0
- package/dist/modules/inputs.d.ts.map +1 -1
- package/dist/modules/inputs.js +114 -0
- package/dist/modules/inputs.js.map +1 -1
- package/dist/modules/media-inputs.d.ts +37 -0
- package/dist/modules/media-inputs.d.ts.map +1 -1
- package/dist/modules/media-inputs.js +18 -0
- package/dist/modules/media-inputs.js.map +1 -1
- package/dist/modules/outputs.d.ts +108 -0
- package/dist/modules/outputs.d.ts.map +1 -1
- package/dist/modules/outputs.js +70 -0
- package/dist/modules/outputs.js.map +1 -1
- package/dist/modules/record.d.ts +50 -0
- package/dist/modules/record.d.ts.map +1 -1
- package/dist/modules/record.js +38 -0
- package/dist/modules/record.js.map +1 -1
- package/dist/modules/scene-items.d.ts +186 -0
- package/dist/modules/scene-items.d.ts.map +1 -1
- package/dist/modules/scene-items.js +70 -0
- package/dist/modules/scene-items.js.map +1 -1
- package/dist/modules/scenes.d.ts +78 -0
- package/dist/modules/scenes.d.ts.map +1 -1
- package/dist/modules/scenes.js +38 -0
- package/dist/modules/scenes.js.map +1 -1
- package/dist/modules/sources.d.ts +46 -0
- package/dist/modules/sources.d.ts.map +1 -1
- package/dist/modules/sources.js +18 -0
- package/dist/modules/sources.js.map +1 -1
- package/dist/modules/stream.d.ts +35 -0
- package/dist/modules/stream.d.ts.map +1 -1
- package/dist/modules/stream.js +22 -0
- package/dist/modules/stream.js.map +1 -1
- package/dist/modules/transitions.d.ts +65 -0
- package/dist/modules/transitions.d.ts.map +1 -1
- package/dist/modules/transitions.js +38 -0
- package/dist/modules/transitions.js.map +1 -1
- package/dist/modules/ui.d.ts +59 -0
- package/dist/modules/ui.d.ts.map +1 -1
- package/dist/modules/ui.js +34 -0
- package/dist/modules/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -105,6 +105,135 @@ type SetStreamServiceSettingsRequest = z.infer<typeof SetStreamServiceSettingsRe
|
|
|
105
105
|
type GetRecordDirectoryResponse = z.infer<typeof GetRecordDirectoryResponseSchema>;
|
|
106
106
|
type SetRecordDirectoryRequest = z.infer<typeof SetRecordDirectoryRequestSchema>;
|
|
107
107
|
declare class ConfigModule extends BaseModule {
|
|
108
|
+
static schemas: {
|
|
109
|
+
readonly getPersistentData: {
|
|
110
|
+
readonly request: z.ZodObject<{
|
|
111
|
+
realm: z.ZodString;
|
|
112
|
+
slotName: z.ZodString;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
readonly response: z.ZodObject<{
|
|
115
|
+
slotValue: z.ZodJSONSchema;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
};
|
|
118
|
+
readonly setPersistentData: {
|
|
119
|
+
readonly request: z.ZodObject<{
|
|
120
|
+
realm: z.ZodString;
|
|
121
|
+
slotName: z.ZodString;
|
|
122
|
+
slotValue: z.ZodJSONSchema;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
readonly response: z.ZodVoid;
|
|
125
|
+
};
|
|
126
|
+
readonly getSceneCollectionList: {
|
|
127
|
+
readonly request: z.ZodVoid;
|
|
128
|
+
readonly response: z.ZodObject<{
|
|
129
|
+
currentSceneCollectionName: z.ZodString;
|
|
130
|
+
sceneCollections: z.ZodArray<z.ZodString>;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
};
|
|
133
|
+
readonly setCurrentSceneCollection: {
|
|
134
|
+
readonly request: z.ZodObject<{
|
|
135
|
+
sceneCollectionName: z.ZodString;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
readonly response: z.ZodVoid;
|
|
138
|
+
};
|
|
139
|
+
readonly createSceneCollection: {
|
|
140
|
+
readonly request: z.ZodObject<{
|
|
141
|
+
sceneCollectionName: z.ZodString;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
readonly response: z.ZodVoid;
|
|
144
|
+
};
|
|
145
|
+
readonly getProfileList: {
|
|
146
|
+
readonly request: z.ZodVoid;
|
|
147
|
+
readonly response: z.ZodObject<{
|
|
148
|
+
currentProfileName: z.ZodString;
|
|
149
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
};
|
|
152
|
+
readonly setCurrentProfile: {
|
|
153
|
+
readonly request: z.ZodObject<{
|
|
154
|
+
profileName: z.ZodString;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
readonly response: z.ZodVoid;
|
|
157
|
+
};
|
|
158
|
+
readonly createProfile: {
|
|
159
|
+
readonly request: z.ZodObject<{
|
|
160
|
+
profileName: z.ZodString;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
readonly response: z.ZodVoid;
|
|
163
|
+
};
|
|
164
|
+
readonly removeProfile: {
|
|
165
|
+
readonly request: z.ZodObject<{
|
|
166
|
+
profileName: z.ZodString;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
readonly response: z.ZodVoid;
|
|
169
|
+
};
|
|
170
|
+
readonly getProfileParameter: {
|
|
171
|
+
readonly request: z.ZodObject<{
|
|
172
|
+
parameterCategory: z.ZodString;
|
|
173
|
+
parameterName: z.ZodString;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
readonly response: z.ZodObject<{
|
|
176
|
+
parameterValue: z.ZodNullable<z.ZodString>;
|
|
177
|
+
defaultParameterValue: z.ZodNullable<z.ZodString>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
};
|
|
180
|
+
readonly setProfileParameter: {
|
|
181
|
+
readonly request: z.ZodObject<{
|
|
182
|
+
parameterCategory: z.ZodString;
|
|
183
|
+
parameterName: z.ZodString;
|
|
184
|
+
parameterValue: z.ZodString;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
readonly response: z.ZodVoid;
|
|
187
|
+
};
|
|
188
|
+
readonly getVideoSettings: {
|
|
189
|
+
readonly request: z.ZodVoid;
|
|
190
|
+
readonly response: z.ZodObject<{
|
|
191
|
+
fpsNumerator: z.ZodNumber;
|
|
192
|
+
fpsDenominator: z.ZodNumber;
|
|
193
|
+
baseWidth: z.ZodNumber;
|
|
194
|
+
baseHeight: z.ZodNumber;
|
|
195
|
+
outputWidth: z.ZodNumber;
|
|
196
|
+
outputHeight: z.ZodNumber;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
};
|
|
199
|
+
readonly setVideoSettings: {
|
|
200
|
+
readonly request: z.ZodObject<{
|
|
201
|
+
fpsNumerator: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
fpsDenominator: z.ZodOptional<z.ZodNumber>;
|
|
203
|
+
baseWidth: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
baseHeight: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
outputWidth: z.ZodOptional<z.ZodNumber>;
|
|
206
|
+
outputHeight: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
readonly response: z.ZodVoid;
|
|
209
|
+
};
|
|
210
|
+
readonly getStreamServiceSettings: {
|
|
211
|
+
readonly request: z.ZodVoid;
|
|
212
|
+
readonly response: z.ZodObject<{
|
|
213
|
+
streamServiceType: z.ZodString;
|
|
214
|
+
streamServiceSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
};
|
|
217
|
+
readonly setStreamServiceSettings: {
|
|
218
|
+
readonly request: z.ZodObject<{
|
|
219
|
+
streamServiceType: z.ZodString;
|
|
220
|
+
streamServiceSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
readonly response: z.ZodVoid;
|
|
223
|
+
};
|
|
224
|
+
readonly getRecordDirectory: {
|
|
225
|
+
readonly request: z.ZodVoid;
|
|
226
|
+
readonly response: z.ZodObject<{
|
|
227
|
+
recordDirectory: z.ZodString;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
};
|
|
230
|
+
readonly setRecordDirectory: {
|
|
231
|
+
readonly request: z.ZodObject<{
|
|
232
|
+
recordDirectory: z.ZodString;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
readonly response: z.ZodVoid;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
108
237
|
getPersistentData(params: GetPersistentDataRequest): Promise<GetPersistentDataResponse>;
|
|
109
238
|
setPersistentData(params: SetPersistentDataRequest): Promise<void>;
|
|
110
239
|
getSceneCollectionList(): Promise<GetSceneCollectionListResponse>;
|
|
@@ -211,6 +340,108 @@ type SetSourceFilterIndexRequest = z.infer<typeof SetSourceFilterIndexRequestSch
|
|
|
211
340
|
type SetSourceFilterSettingsRequest = z.infer<typeof SetSourceFilterSettingsRequestSchema>;
|
|
212
341
|
type SetSourceFilterEnabledRequest = z.infer<typeof SetSourceFilterEnabledRequestSchema>;
|
|
213
342
|
declare class FiltersModule extends BaseModule {
|
|
343
|
+
static schemas: {
|
|
344
|
+
readonly getSourceFilterKindList: {
|
|
345
|
+
readonly request: z.ZodVoid;
|
|
346
|
+
readonly response: z.ZodObject<{
|
|
347
|
+
sourceFilterKinds: z.ZodArray<z.ZodString>;
|
|
348
|
+
}, z.core.$strip>;
|
|
349
|
+
};
|
|
350
|
+
readonly getSourceFilterList: {
|
|
351
|
+
readonly request: z.ZodObject<{
|
|
352
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
353
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
354
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
readonly response: z.ZodObject<{
|
|
357
|
+
filters: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
};
|
|
360
|
+
readonly getSourceFilterDefaultSettings: {
|
|
361
|
+
readonly request: z.ZodObject<{
|
|
362
|
+
filterKind: z.ZodString;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
readonly response: z.ZodObject<{
|
|
365
|
+
defaultFilterSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
};
|
|
368
|
+
readonly createSourceFilter: {
|
|
369
|
+
readonly request: z.ZodObject<{
|
|
370
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
371
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
372
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
373
|
+
filterName: z.ZodString;
|
|
374
|
+
filterKind: z.ZodString;
|
|
375
|
+
filterSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
readonly response: z.ZodVoid;
|
|
378
|
+
};
|
|
379
|
+
readonly removeSourceFilter: {
|
|
380
|
+
readonly request: z.ZodObject<{
|
|
381
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
382
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
383
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
384
|
+
filterName: z.ZodString;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
readonly response: z.ZodVoid;
|
|
387
|
+
};
|
|
388
|
+
readonly setSourceFilterName: {
|
|
389
|
+
readonly request: z.ZodObject<{
|
|
390
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
391
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
392
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
393
|
+
filterName: z.ZodString;
|
|
394
|
+
newFilterName: z.ZodString;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
readonly response: z.ZodVoid;
|
|
397
|
+
};
|
|
398
|
+
readonly getSourceFilter: {
|
|
399
|
+
readonly request: z.ZodObject<{
|
|
400
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
401
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
402
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
403
|
+
filterName: z.ZodString;
|
|
404
|
+
}, z.core.$strip>;
|
|
405
|
+
readonly response: z.ZodObject<{
|
|
406
|
+
filterEnabled: z.ZodBoolean;
|
|
407
|
+
filterIndex: z.ZodNumber;
|
|
408
|
+
filterKind: z.ZodString;
|
|
409
|
+
filterName: z.ZodString;
|
|
410
|
+
filterSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
};
|
|
413
|
+
readonly setSourceFilterIndex: {
|
|
414
|
+
readonly request: z.ZodObject<{
|
|
415
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
416
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
417
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
418
|
+
filterName: z.ZodString;
|
|
419
|
+
filterIndex: z.ZodNumber;
|
|
420
|
+
}, z.core.$strip>;
|
|
421
|
+
readonly response: z.ZodVoid;
|
|
422
|
+
};
|
|
423
|
+
readonly setSourceFilterSettings: {
|
|
424
|
+
readonly request: z.ZodObject<{
|
|
425
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
426
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
427
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
428
|
+
filterName: z.ZodString;
|
|
429
|
+
filterSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
430
|
+
overlay: z.ZodOptional<z.ZodBoolean>;
|
|
431
|
+
}, z.core.$strip>;
|
|
432
|
+
readonly response: z.ZodVoid;
|
|
433
|
+
};
|
|
434
|
+
readonly setSourceFilterEnabled: {
|
|
435
|
+
readonly request: z.ZodObject<{
|
|
436
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
437
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
438
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
439
|
+
filterName: z.ZodString;
|
|
440
|
+
filterEnabled: z.ZodBoolean;
|
|
441
|
+
}, z.core.$strip>;
|
|
442
|
+
readonly response: z.ZodVoid;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
214
445
|
getSourceFilterKindList(): Promise<GetSourceFilterKindListResponse>;
|
|
215
446
|
getSourceFilterList(params: GetSourceFilterListRequest): Promise<GetSourceFilterListResponse>;
|
|
216
447
|
getSourceFilterDefaultSettings(params: GetSourceFilterDefaultSettingsRequest): Promise<GetSourceFilterDefaultSettingsResponse>;
|
|
@@ -283,6 +514,79 @@ type GetHotkeyListResponse = z.infer<typeof GetHotkeyListResponseSchema>;
|
|
|
283
514
|
type TriggerHotkeyByNameRequest = z.infer<typeof TriggerHotkeyByNameRequestSchema>;
|
|
284
515
|
type TriggerHotkeyByKeySequenceRequest = z.infer<typeof TriggerHotkeyByKeySequenceRequestSchema>;
|
|
285
516
|
declare class GeneralModule extends BaseModule {
|
|
517
|
+
static schemas: {
|
|
518
|
+
readonly getVersion: {
|
|
519
|
+
readonly request: z.ZodVoid;
|
|
520
|
+
readonly response: z.ZodObject<{
|
|
521
|
+
obsVersion: z.ZodString;
|
|
522
|
+
obsWebSocketVersion: z.ZodString;
|
|
523
|
+
rpcVersion: z.ZodNumber;
|
|
524
|
+
availableRequests: z.ZodArray<z.ZodString>;
|
|
525
|
+
supportedImageFormats: z.ZodArray<z.ZodString>;
|
|
526
|
+
platform: z.ZodString;
|
|
527
|
+
platformDescription: z.ZodString;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
};
|
|
530
|
+
readonly getStats: {
|
|
531
|
+
readonly request: z.ZodVoid;
|
|
532
|
+
readonly response: z.ZodObject<{
|
|
533
|
+
cpuUsage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
534
|
+
memoryUsage: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
535
|
+
availableDiskSpace: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
536
|
+
activeFps: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
537
|
+
averageFrameRenderTime: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
538
|
+
renderSkippedFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
539
|
+
renderTotalFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
540
|
+
outputSkippedFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
541
|
+
outputTotalFrames: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
542
|
+
webSocketSessionIncomingMessages: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
543
|
+
webSocketSessionOutgoingMessages: z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
};
|
|
546
|
+
readonly broadcastCustomEvent: {
|
|
547
|
+
readonly request: z.ZodObject<{
|
|
548
|
+
eventData: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
readonly response: z.ZodVoid;
|
|
551
|
+
};
|
|
552
|
+
readonly callVendorRequest: {
|
|
553
|
+
readonly request: z.ZodObject<{
|
|
554
|
+
vendorName: z.ZodString;
|
|
555
|
+
requestType: z.ZodString;
|
|
556
|
+
requestData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
readonly response: z.ZodObject<{
|
|
559
|
+
vendorName: z.ZodString;
|
|
560
|
+
requestType: z.ZodString;
|
|
561
|
+
responseData: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
562
|
+
}, z.core.$strip>;
|
|
563
|
+
};
|
|
564
|
+
readonly getHotkeyList: {
|
|
565
|
+
readonly request: z.ZodVoid;
|
|
566
|
+
readonly response: z.ZodObject<{
|
|
567
|
+
hotkeys: z.ZodArray<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
};
|
|
570
|
+
readonly triggerHotkeyByName: {
|
|
571
|
+
readonly request: z.ZodObject<{
|
|
572
|
+
hotkeyName: z.ZodString;
|
|
573
|
+
contextName: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>;
|
|
575
|
+
readonly response: z.ZodVoid;
|
|
576
|
+
};
|
|
577
|
+
readonly triggerHotkeyByKeySequence: {
|
|
578
|
+
readonly request: z.ZodObject<{
|
|
579
|
+
keyId: z.ZodOptional<z.ZodString>;
|
|
580
|
+
keyModifiers: z.ZodOptional<z.ZodObject<{
|
|
581
|
+
shift: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
control: z.ZodOptional<z.ZodBoolean>;
|
|
583
|
+
alt: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
command: z.ZodOptional<z.ZodBoolean>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
586
|
+
}, z.core.$strip>;
|
|
587
|
+
readonly response: z.ZodVoid;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
286
590
|
getVersion(): Promise<GetVersionResponse>;
|
|
287
591
|
getStats(): Promise<GetStatsResponse>;
|
|
288
592
|
broadcastCustomEvent(params: BroadcastCustomEventRequest): Promise<void>;
|
|
@@ -516,6 +820,257 @@ type GetInputPropertiesListPropertyItemsRequest = z.infer<typeof GetInputPropert
|
|
|
516
820
|
type GetInputPropertiesListPropertyItemsResponse = z.infer<typeof GetInputPropertiesListPropertyItemsResponseSchema>;
|
|
517
821
|
type PressInputPropertiesButtonRequest = z.infer<typeof PressInputPropertiesButtonRequestSchema>;
|
|
518
822
|
declare class InputsModule extends BaseModule {
|
|
823
|
+
static schemas: {
|
|
824
|
+
readonly getInputList: {
|
|
825
|
+
readonly request: z.ZodObject<{
|
|
826
|
+
inputKind: z.ZodOptional<z.ZodString>;
|
|
827
|
+
}, z.core.$strip>;
|
|
828
|
+
readonly response: z.ZodObject<{
|
|
829
|
+
inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
};
|
|
832
|
+
readonly getInputKindList: {
|
|
833
|
+
readonly request: z.ZodObject<{
|
|
834
|
+
unversioned: z.ZodOptional<z.ZodBoolean>;
|
|
835
|
+
}, z.core.$strip>;
|
|
836
|
+
readonly response: z.ZodObject<{
|
|
837
|
+
inputKinds: z.ZodArray<z.ZodString>;
|
|
838
|
+
}, z.core.$strip>;
|
|
839
|
+
};
|
|
840
|
+
readonly getSpecialInputs: {
|
|
841
|
+
readonly request: z.ZodVoid;
|
|
842
|
+
readonly response: z.ZodObject<{
|
|
843
|
+
desktop1: z.ZodNullable<z.ZodString>;
|
|
844
|
+
desktop2: z.ZodNullable<z.ZodString>;
|
|
845
|
+
mic1: z.ZodNullable<z.ZodString>;
|
|
846
|
+
mic2: z.ZodNullable<z.ZodString>;
|
|
847
|
+
mic3: z.ZodNullable<z.ZodString>;
|
|
848
|
+
mic4: z.ZodNullable<z.ZodString>;
|
|
849
|
+
}, z.core.$strip>;
|
|
850
|
+
};
|
|
851
|
+
readonly createInput: {
|
|
852
|
+
readonly request: z.ZodObject<{
|
|
853
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
854
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
855
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
856
|
+
inputName: z.ZodString;
|
|
857
|
+
inputKind: z.ZodString;
|
|
858
|
+
inputSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
859
|
+
sceneItemEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
860
|
+
}, z.core.$strip>;
|
|
861
|
+
readonly response: z.ZodObject<{
|
|
862
|
+
inputUuid: z.ZodString;
|
|
863
|
+
sceneItemId: z.ZodNumber;
|
|
864
|
+
}, z.core.$strip>;
|
|
865
|
+
};
|
|
866
|
+
readonly removeInput: {
|
|
867
|
+
readonly request: z.ZodObject<{
|
|
868
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
869
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
870
|
+
}, z.core.$strip>;
|
|
871
|
+
readonly response: z.ZodVoid;
|
|
872
|
+
};
|
|
873
|
+
readonly setInputName: {
|
|
874
|
+
readonly request: z.ZodObject<{
|
|
875
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
876
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
877
|
+
newInputName: z.ZodString;
|
|
878
|
+
}, z.core.$strip>;
|
|
879
|
+
readonly response: z.ZodVoid;
|
|
880
|
+
};
|
|
881
|
+
readonly getInputDefaultSettings: {
|
|
882
|
+
readonly request: z.ZodObject<{
|
|
883
|
+
inputKind: z.ZodString;
|
|
884
|
+
}, z.core.$strip>;
|
|
885
|
+
readonly response: z.ZodObject<{
|
|
886
|
+
defaultInputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
};
|
|
889
|
+
readonly getInputSettings: {
|
|
890
|
+
readonly request: z.ZodObject<{
|
|
891
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
892
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
893
|
+
}, z.core.$strip>;
|
|
894
|
+
readonly response: z.ZodObject<{
|
|
895
|
+
inputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
896
|
+
inputKind: z.ZodString;
|
|
897
|
+
}, z.core.$strip>;
|
|
898
|
+
};
|
|
899
|
+
readonly setInputSettings: {
|
|
900
|
+
readonly request: z.ZodObject<{
|
|
901
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
902
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
903
|
+
inputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
904
|
+
overlay: z.ZodOptional<z.ZodBoolean>;
|
|
905
|
+
}, z.core.$strip>;
|
|
906
|
+
readonly response: z.ZodVoid;
|
|
907
|
+
};
|
|
908
|
+
readonly getInputMute: {
|
|
909
|
+
readonly request: z.ZodObject<{
|
|
910
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
911
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
912
|
+
}, z.core.$strip>;
|
|
913
|
+
readonly response: z.ZodObject<{
|
|
914
|
+
inputMuted: z.ZodBoolean;
|
|
915
|
+
}, z.core.$strip>;
|
|
916
|
+
};
|
|
917
|
+
readonly setInputMute: {
|
|
918
|
+
readonly request: z.ZodObject<{
|
|
919
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
920
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
921
|
+
inputMuted: z.ZodBoolean;
|
|
922
|
+
}, z.core.$strip>;
|
|
923
|
+
readonly response: z.ZodVoid;
|
|
924
|
+
};
|
|
925
|
+
readonly toggleInputMute: {
|
|
926
|
+
readonly request: z.ZodObject<{
|
|
927
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
928
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
929
|
+
}, z.core.$strip>;
|
|
930
|
+
readonly response: z.ZodObject<{
|
|
931
|
+
inputMuted: z.ZodBoolean;
|
|
932
|
+
}, z.core.$strip>;
|
|
933
|
+
};
|
|
934
|
+
readonly getInputVolume: {
|
|
935
|
+
readonly request: z.ZodObject<{
|
|
936
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
937
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
938
|
+
}, z.core.$strip>;
|
|
939
|
+
readonly response: z.ZodObject<{
|
|
940
|
+
inputVolumeMul: z.ZodNumber;
|
|
941
|
+
inputVolumeDb: z.ZodNumber;
|
|
942
|
+
}, z.core.$strip>;
|
|
943
|
+
};
|
|
944
|
+
readonly setInputVolume: {
|
|
945
|
+
readonly request: z.ZodObject<{
|
|
946
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
947
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
948
|
+
inputVolumeMul: z.ZodOptional<z.ZodNumber>;
|
|
949
|
+
inputVolumeDb: z.ZodOptional<z.ZodNumber>;
|
|
950
|
+
}, z.core.$strip>;
|
|
951
|
+
readonly response: z.ZodVoid;
|
|
952
|
+
};
|
|
953
|
+
readonly getInputAudioBalance: {
|
|
954
|
+
readonly request: z.ZodObject<{
|
|
955
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
956
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
957
|
+
}, z.core.$strip>;
|
|
958
|
+
readonly response: z.ZodObject<{
|
|
959
|
+
inputAudioBalance: z.ZodNumber;
|
|
960
|
+
}, z.core.$strip>;
|
|
961
|
+
};
|
|
962
|
+
readonly setInputAudioBalance: {
|
|
963
|
+
readonly request: z.ZodObject<{
|
|
964
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
965
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
966
|
+
inputAudioBalance: z.ZodNumber;
|
|
967
|
+
}, z.core.$strip>;
|
|
968
|
+
readonly response: z.ZodVoid;
|
|
969
|
+
};
|
|
970
|
+
readonly getInputAudioSyncOffset: {
|
|
971
|
+
readonly request: z.ZodObject<{
|
|
972
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
973
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
974
|
+
}, z.core.$strip>;
|
|
975
|
+
readonly response: z.ZodObject<{
|
|
976
|
+
inputAudioSyncOffset: z.ZodNumber;
|
|
977
|
+
}, z.core.$strip>;
|
|
978
|
+
};
|
|
979
|
+
readonly setInputAudioSyncOffset: {
|
|
980
|
+
readonly request: z.ZodObject<{
|
|
981
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
982
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
983
|
+
inputAudioSyncOffset: z.ZodNumber;
|
|
984
|
+
}, z.core.$strip>;
|
|
985
|
+
readonly response: z.ZodVoid;
|
|
986
|
+
};
|
|
987
|
+
readonly getInputAudioMonitorType: {
|
|
988
|
+
readonly request: z.ZodObject<{
|
|
989
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
990
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
991
|
+
}, z.core.$strip>;
|
|
992
|
+
readonly response: z.ZodObject<{
|
|
993
|
+
monitorType: z.ZodString;
|
|
994
|
+
}, z.core.$strip>;
|
|
995
|
+
};
|
|
996
|
+
readonly setInputAudioMonitorType: {
|
|
997
|
+
readonly request: z.ZodObject<{
|
|
998
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
999
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
monitorType: z.ZodString;
|
|
1001
|
+
}, z.core.$strip>;
|
|
1002
|
+
readonly response: z.ZodVoid;
|
|
1003
|
+
};
|
|
1004
|
+
readonly getInputAudioTracks: {
|
|
1005
|
+
readonly request: z.ZodObject<{
|
|
1006
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
}, z.core.$strip>;
|
|
1009
|
+
readonly response: z.ZodObject<{
|
|
1010
|
+
inputAudioTracks: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1011
|
+
}, z.core.$strip>;
|
|
1012
|
+
};
|
|
1013
|
+
readonly setInputAudioTracks: {
|
|
1014
|
+
readonly request: z.ZodObject<{
|
|
1015
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1016
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
inputAudioTracks: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1018
|
+
}, z.core.$strip>;
|
|
1019
|
+
readonly response: z.ZodVoid;
|
|
1020
|
+
};
|
|
1021
|
+
readonly getInputDeinterlaceMode: {
|
|
1022
|
+
readonly request: z.ZodObject<{
|
|
1023
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
readonly response: z.ZodObject<{
|
|
1027
|
+
inputDeinterlaceMode: z.ZodString;
|
|
1028
|
+
}, z.core.$strip>;
|
|
1029
|
+
};
|
|
1030
|
+
readonly setInputDeinterlaceMode: {
|
|
1031
|
+
readonly request: z.ZodObject<{
|
|
1032
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
inputDeinterlaceMode: z.ZodString;
|
|
1035
|
+
}, z.core.$strip>;
|
|
1036
|
+
readonly response: z.ZodVoid;
|
|
1037
|
+
};
|
|
1038
|
+
readonly getInputDeinterlaceFieldOrder: {
|
|
1039
|
+
readonly request: z.ZodObject<{
|
|
1040
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
}, z.core.$strip>;
|
|
1043
|
+
readonly response: z.ZodObject<{
|
|
1044
|
+
inputDeinterlaceFieldOrder: z.ZodString;
|
|
1045
|
+
}, z.core.$strip>;
|
|
1046
|
+
};
|
|
1047
|
+
readonly setInputDeinterlaceFieldOrder: {
|
|
1048
|
+
readonly request: z.ZodObject<{
|
|
1049
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
inputDeinterlaceFieldOrder: z.ZodString;
|
|
1052
|
+
}, z.core.$strip>;
|
|
1053
|
+
readonly response: z.ZodVoid;
|
|
1054
|
+
};
|
|
1055
|
+
readonly getInputPropertiesListPropertyItems: {
|
|
1056
|
+
readonly request: z.ZodObject<{
|
|
1057
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
propertyName: z.ZodString;
|
|
1060
|
+
}, z.core.$strip>;
|
|
1061
|
+
readonly response: z.ZodObject<{
|
|
1062
|
+
propertyItems: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1063
|
+
}, z.core.$strip>;
|
|
1064
|
+
};
|
|
1065
|
+
readonly pressInputPropertiesButton: {
|
|
1066
|
+
readonly request: z.ZodObject<{
|
|
1067
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
propertyName: z.ZodString;
|
|
1070
|
+
}, z.core.$strip>;
|
|
1071
|
+
readonly response: z.ZodVoid;
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
519
1074
|
getInputList(params?: GetInputListRequest): Promise<GetInputListResponse>;
|
|
520
1075
|
getInputKindList(params?: GetInputKindListRequest): Promise<GetInputKindListResponse>;
|
|
521
1076
|
getSpecialInputs(): Promise<GetSpecialInputsResponse>;
|
|
@@ -576,6 +1131,43 @@ type SetMediaInputCursorRequest = z.infer<typeof SetMediaInputCursorRequestSchem
|
|
|
576
1131
|
type OffsetMediaInputCursorRequest = z.infer<typeof OffsetMediaInputCursorRequestSchema>;
|
|
577
1132
|
type TriggerMediaInputActionRequest = z.infer<typeof TriggerMediaInputActionRequestSchema>;
|
|
578
1133
|
declare class MediaInputsModule extends BaseModule {
|
|
1134
|
+
static schemas: {
|
|
1135
|
+
readonly getMediaInputStatus: {
|
|
1136
|
+
readonly request: z.ZodObject<{
|
|
1137
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
}, z.core.$strip>;
|
|
1140
|
+
readonly response: z.ZodObject<{
|
|
1141
|
+
mediaState: z.ZodString;
|
|
1142
|
+
mediaDuration: z.ZodNullable<z.ZodNumber>;
|
|
1143
|
+
mediaCursor: z.ZodNullable<z.ZodNumber>;
|
|
1144
|
+
}, z.core.$strip>;
|
|
1145
|
+
};
|
|
1146
|
+
readonly setMediaInputCursor: {
|
|
1147
|
+
readonly request: z.ZodObject<{
|
|
1148
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
mediaCursor: z.ZodNumber;
|
|
1151
|
+
}, z.core.$strip>;
|
|
1152
|
+
readonly response: z.ZodVoid;
|
|
1153
|
+
};
|
|
1154
|
+
readonly offsetMediaInputCursor: {
|
|
1155
|
+
readonly request: z.ZodObject<{
|
|
1156
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
mediaCursorOffset: z.ZodNumber;
|
|
1159
|
+
}, z.core.$strip>;
|
|
1160
|
+
readonly response: z.ZodVoid;
|
|
1161
|
+
};
|
|
1162
|
+
readonly triggerMediaInputAction: {
|
|
1163
|
+
readonly request: z.ZodObject<{
|
|
1164
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
mediaAction: z.ZodString;
|
|
1167
|
+
}, z.core.$strip>;
|
|
1168
|
+
readonly response: z.ZodVoid;
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
579
1171
|
getMediaInputStatus(params: GetMediaInputStatusRequest): Promise<GetMediaInputStatusResponse>;
|
|
580
1172
|
setMediaInputCursor(params: SetMediaInputCursorRequest): Promise<void>;
|
|
581
1173
|
offsetMediaInputCursor(params: OffsetMediaInputCursorRequest): Promise<void>;
|
|
@@ -651,6 +1243,114 @@ type GetOutputSettingsRequest = z.infer<typeof GetOutputSettingsRequestSchema>;
|
|
|
651
1243
|
type GetOutputSettingsResponse = z.infer<typeof GetOutputSettingsResponseSchema>;
|
|
652
1244
|
type SetOutputSettingsRequest = z.infer<typeof SetOutputSettingsRequestSchema>;
|
|
653
1245
|
declare class OutputsModule extends BaseModule {
|
|
1246
|
+
static schemas: {
|
|
1247
|
+
readonly getVirtualCamStatus: {
|
|
1248
|
+
readonly request: z.ZodVoid;
|
|
1249
|
+
readonly response: z.ZodObject<{
|
|
1250
|
+
outputActive: z.ZodBoolean;
|
|
1251
|
+
}, z.core.$strip>;
|
|
1252
|
+
};
|
|
1253
|
+
readonly toggleVirtualCam: {
|
|
1254
|
+
readonly request: z.ZodVoid;
|
|
1255
|
+
readonly response: z.ZodObject<{
|
|
1256
|
+
outputActive: z.ZodBoolean;
|
|
1257
|
+
}, z.core.$strip>;
|
|
1258
|
+
};
|
|
1259
|
+
readonly startVirtualCam: {
|
|
1260
|
+
readonly request: z.ZodVoid;
|
|
1261
|
+
readonly response: z.ZodVoid;
|
|
1262
|
+
};
|
|
1263
|
+
readonly stopVirtualCam: {
|
|
1264
|
+
readonly request: z.ZodVoid;
|
|
1265
|
+
readonly response: z.ZodVoid;
|
|
1266
|
+
};
|
|
1267
|
+
readonly getReplayBufferStatus: {
|
|
1268
|
+
readonly request: z.ZodVoid;
|
|
1269
|
+
readonly response: z.ZodObject<{
|
|
1270
|
+
outputActive: z.ZodBoolean;
|
|
1271
|
+
}, z.core.$strip>;
|
|
1272
|
+
};
|
|
1273
|
+
readonly toggleReplayBuffer: {
|
|
1274
|
+
readonly request: z.ZodVoid;
|
|
1275
|
+
readonly response: z.ZodObject<{
|
|
1276
|
+
outputActive: z.ZodBoolean;
|
|
1277
|
+
}, z.core.$strip>;
|
|
1278
|
+
};
|
|
1279
|
+
readonly startReplayBuffer: {
|
|
1280
|
+
readonly request: z.ZodVoid;
|
|
1281
|
+
readonly response: z.ZodVoid;
|
|
1282
|
+
};
|
|
1283
|
+
readonly stopReplayBuffer: {
|
|
1284
|
+
readonly request: z.ZodVoid;
|
|
1285
|
+
readonly response: z.ZodVoid;
|
|
1286
|
+
};
|
|
1287
|
+
readonly saveReplayBuffer: {
|
|
1288
|
+
readonly request: z.ZodVoid;
|
|
1289
|
+
readonly response: z.ZodVoid;
|
|
1290
|
+
};
|
|
1291
|
+
readonly getLastReplayBufferReplay: {
|
|
1292
|
+
readonly request: z.ZodVoid;
|
|
1293
|
+
readonly response: z.ZodObject<{
|
|
1294
|
+
savedReplayPath: z.ZodString;
|
|
1295
|
+
}, z.core.$strip>;
|
|
1296
|
+
};
|
|
1297
|
+
readonly getOutputList: {
|
|
1298
|
+
readonly request: z.ZodVoid;
|
|
1299
|
+
readonly response: z.ZodObject<{
|
|
1300
|
+
outputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1301
|
+
}, z.core.$strip>;
|
|
1302
|
+
};
|
|
1303
|
+
readonly getOutputStatus: {
|
|
1304
|
+
readonly request: z.ZodObject<{
|
|
1305
|
+
outputName: z.ZodString;
|
|
1306
|
+
}, z.core.$strip>;
|
|
1307
|
+
readonly response: z.ZodObject<{
|
|
1308
|
+
outputActive: z.ZodBoolean;
|
|
1309
|
+
outputReconnecting: z.ZodBoolean;
|
|
1310
|
+
outputTimecode: z.ZodString;
|
|
1311
|
+
outputDuration: z.ZodNumber;
|
|
1312
|
+
outputCongestion: z.ZodNumber;
|
|
1313
|
+
outputBytes: z.ZodNumber;
|
|
1314
|
+
outputSkippedFrames: z.ZodNumber;
|
|
1315
|
+
outputTotalFrames: z.ZodNumber;
|
|
1316
|
+
}, z.core.$strip>;
|
|
1317
|
+
};
|
|
1318
|
+
readonly toggleOutput: {
|
|
1319
|
+
readonly request: z.ZodObject<{
|
|
1320
|
+
outputName: z.ZodString;
|
|
1321
|
+
}, z.core.$strip>;
|
|
1322
|
+
readonly response: z.ZodObject<{
|
|
1323
|
+
outputActive: z.ZodBoolean;
|
|
1324
|
+
}, z.core.$strip>;
|
|
1325
|
+
};
|
|
1326
|
+
readonly startOutput: {
|
|
1327
|
+
readonly request: z.ZodObject<{
|
|
1328
|
+
outputName: z.ZodString;
|
|
1329
|
+
}, z.core.$strip>;
|
|
1330
|
+
readonly response: z.ZodVoid;
|
|
1331
|
+
};
|
|
1332
|
+
readonly stopOutput: {
|
|
1333
|
+
readonly request: z.ZodObject<{
|
|
1334
|
+
outputName: z.ZodString;
|
|
1335
|
+
}, z.core.$strip>;
|
|
1336
|
+
readonly response: z.ZodVoid;
|
|
1337
|
+
};
|
|
1338
|
+
readonly getOutputSettings: {
|
|
1339
|
+
readonly request: z.ZodObject<{
|
|
1340
|
+
outputName: z.ZodString;
|
|
1341
|
+
}, z.core.$strip>;
|
|
1342
|
+
readonly response: z.ZodObject<{
|
|
1343
|
+
outputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1344
|
+
}, z.core.$strip>;
|
|
1345
|
+
};
|
|
1346
|
+
readonly setOutputSettings: {
|
|
1347
|
+
readonly request: z.ZodObject<{
|
|
1348
|
+
outputName: z.ZodString;
|
|
1349
|
+
outputSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1350
|
+
}, z.core.$strip>;
|
|
1351
|
+
readonly response: z.ZodVoid;
|
|
1352
|
+
};
|
|
1353
|
+
};
|
|
654
1354
|
getVirtualCamStatus(): Promise<GetVirtualCamStatusResponse>;
|
|
655
1355
|
toggleVirtualCam(): Promise<ToggleVirtualCamResponse>;
|
|
656
1356
|
startVirtualCam(): Promise<void>;
|
|
@@ -691,6 +1391,56 @@ type ToggleRecordResponse = z.infer<typeof ToggleRecordResponseSchema>;
|
|
|
691
1391
|
type StopRecordResponse = z.infer<typeof StopRecordResponseSchema>;
|
|
692
1392
|
type CreateRecordChapterRequest = z.infer<typeof CreateRecordChapterRequestSchema>;
|
|
693
1393
|
declare class RecordModule extends BaseModule {
|
|
1394
|
+
static schemas: {
|
|
1395
|
+
readonly getRecordStatus: {
|
|
1396
|
+
readonly request: z.ZodVoid;
|
|
1397
|
+
readonly response: z.ZodObject<{
|
|
1398
|
+
outputActive: z.ZodBoolean;
|
|
1399
|
+
outputPaused: z.ZodBoolean;
|
|
1400
|
+
outputTimecode: z.ZodString;
|
|
1401
|
+
outputDuration: z.ZodNumber;
|
|
1402
|
+
outputBytes: z.ZodNumber;
|
|
1403
|
+
}, z.core.$strip>;
|
|
1404
|
+
};
|
|
1405
|
+
readonly toggleRecord: {
|
|
1406
|
+
readonly request: z.ZodVoid;
|
|
1407
|
+
readonly response: z.ZodObject<{
|
|
1408
|
+
outputActive: z.ZodBoolean;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1410
|
+
};
|
|
1411
|
+
readonly startRecord: {
|
|
1412
|
+
readonly request: z.ZodVoid;
|
|
1413
|
+
readonly response: z.ZodVoid;
|
|
1414
|
+
};
|
|
1415
|
+
readonly stopRecord: {
|
|
1416
|
+
readonly request: z.ZodVoid;
|
|
1417
|
+
readonly response: z.ZodObject<{
|
|
1418
|
+
outputPath: z.ZodString;
|
|
1419
|
+
}, z.core.$strip>;
|
|
1420
|
+
};
|
|
1421
|
+
readonly toggleRecordPause: {
|
|
1422
|
+
readonly request: z.ZodVoid;
|
|
1423
|
+
readonly response: z.ZodVoid;
|
|
1424
|
+
};
|
|
1425
|
+
readonly pauseRecord: {
|
|
1426
|
+
readonly request: z.ZodVoid;
|
|
1427
|
+
readonly response: z.ZodVoid;
|
|
1428
|
+
};
|
|
1429
|
+
readonly resumeRecord: {
|
|
1430
|
+
readonly request: z.ZodVoid;
|
|
1431
|
+
readonly response: z.ZodVoid;
|
|
1432
|
+
};
|
|
1433
|
+
readonly splitRecordFile: {
|
|
1434
|
+
readonly request: z.ZodVoid;
|
|
1435
|
+
readonly response: z.ZodVoid;
|
|
1436
|
+
};
|
|
1437
|
+
readonly createRecordChapter: {
|
|
1438
|
+
readonly request: z.ZodObject<{
|
|
1439
|
+
chapterName: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
}, z.core.$strip>;
|
|
1441
|
+
readonly response: z.ZodVoid;
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
694
1444
|
getRecordStatus(): Promise<GetRecordStatusResponse>;
|
|
695
1445
|
toggleRecord(): Promise<ToggleRecordResponse>;
|
|
696
1446
|
startRecord(): Promise<void>;
|
|
@@ -875,6 +1625,192 @@ type GetSceneItemBlendModeRequest = z.infer<typeof GetSceneItemBlendModeRequestS
|
|
|
875
1625
|
type GetSceneItemBlendModeResponse = z.infer<typeof GetSceneItemBlendModeResponseSchema>;
|
|
876
1626
|
type SetSceneItemBlendModeRequest = z.infer<typeof SetSceneItemBlendModeRequestSchema>;
|
|
877
1627
|
declare class SceneItemsModule extends BaseModule {
|
|
1628
|
+
static schemas: {
|
|
1629
|
+
readonly getSceneItemList: {
|
|
1630
|
+
readonly request: z.ZodObject<{
|
|
1631
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1633
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
}, z.core.$strip>;
|
|
1635
|
+
readonly response: z.ZodObject<{
|
|
1636
|
+
sceneItems: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1637
|
+
}, z.core.$strip>;
|
|
1638
|
+
};
|
|
1639
|
+
readonly getGroupSceneItemList: {
|
|
1640
|
+
readonly request: z.ZodObject<{
|
|
1641
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1642
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
}, z.core.$strip>;
|
|
1645
|
+
readonly response: z.ZodObject<{
|
|
1646
|
+
sceneItems: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1647
|
+
}, z.core.$strip>;
|
|
1648
|
+
};
|
|
1649
|
+
readonly getSceneItemId: {
|
|
1650
|
+
readonly request: z.ZodObject<{
|
|
1651
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
sourceName: z.ZodString;
|
|
1655
|
+
searchOffset: z.ZodOptional<z.ZodNumber>;
|
|
1656
|
+
}, z.core.$strip>;
|
|
1657
|
+
readonly response: z.ZodObject<{
|
|
1658
|
+
sceneItemId: z.ZodNumber;
|
|
1659
|
+
}, z.core.$strip>;
|
|
1660
|
+
};
|
|
1661
|
+
readonly getSceneItemSource: {
|
|
1662
|
+
readonly request: z.ZodObject<{
|
|
1663
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
sceneItemId: z.ZodNumber;
|
|
1667
|
+
}, z.core.$strip>;
|
|
1668
|
+
readonly response: z.ZodObject<{
|
|
1669
|
+
sourceName: z.ZodString;
|
|
1670
|
+
sourceUuid: z.ZodString;
|
|
1671
|
+
}, z.core.$strip>;
|
|
1672
|
+
};
|
|
1673
|
+
readonly createSceneItem: {
|
|
1674
|
+
readonly request: z.ZodObject<{
|
|
1675
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1676
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
1679
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
sceneItemEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1681
|
+
}, z.core.$strip>;
|
|
1682
|
+
readonly response: z.ZodObject<{
|
|
1683
|
+
sceneItemId: z.ZodNumber;
|
|
1684
|
+
}, z.core.$strip>;
|
|
1685
|
+
};
|
|
1686
|
+
readonly removeSceneItem: {
|
|
1687
|
+
readonly request: z.ZodObject<{
|
|
1688
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1689
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1690
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1691
|
+
sceneItemId: z.ZodNumber;
|
|
1692
|
+
}, z.core.$strip>;
|
|
1693
|
+
readonly response: z.ZodVoid;
|
|
1694
|
+
};
|
|
1695
|
+
readonly duplicateSceneItem: {
|
|
1696
|
+
readonly request: z.ZodObject<{
|
|
1697
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1700
|
+
sceneItemId: z.ZodNumber;
|
|
1701
|
+
destinationSceneName: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
destinationSceneUuid: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
}, z.core.$strip>;
|
|
1704
|
+
readonly response: z.ZodObject<{
|
|
1705
|
+
sceneItemId: z.ZodNumber;
|
|
1706
|
+
}, z.core.$strip>;
|
|
1707
|
+
};
|
|
1708
|
+
readonly getSceneItemTransform: {
|
|
1709
|
+
readonly request: z.ZodObject<{
|
|
1710
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
sceneItemId: z.ZodNumber;
|
|
1714
|
+
}, z.core.$strip>;
|
|
1715
|
+
readonly response: z.ZodObject<{
|
|
1716
|
+
sceneItemTransform: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1717
|
+
}, z.core.$strip>;
|
|
1718
|
+
};
|
|
1719
|
+
readonly setSceneItemTransform: {
|
|
1720
|
+
readonly request: z.ZodObject<{
|
|
1721
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
sceneItemId: z.ZodNumber;
|
|
1725
|
+
sceneItemTransform: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1726
|
+
}, z.core.$strip>;
|
|
1727
|
+
readonly response: z.ZodVoid;
|
|
1728
|
+
};
|
|
1729
|
+
readonly getSceneItemEnabled: {
|
|
1730
|
+
readonly request: z.ZodObject<{
|
|
1731
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
sceneItemId: z.ZodNumber;
|
|
1735
|
+
}, z.core.$strip>;
|
|
1736
|
+
readonly response: z.ZodObject<{
|
|
1737
|
+
sceneItemEnabled: z.ZodBoolean;
|
|
1738
|
+
}, z.core.$strip>;
|
|
1739
|
+
};
|
|
1740
|
+
readonly setSceneItemEnabled: {
|
|
1741
|
+
readonly request: z.ZodObject<{
|
|
1742
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
sceneItemId: z.ZodNumber;
|
|
1746
|
+
sceneItemEnabled: z.ZodBoolean;
|
|
1747
|
+
}, z.core.$strip>;
|
|
1748
|
+
readonly response: z.ZodVoid;
|
|
1749
|
+
};
|
|
1750
|
+
readonly getSceneItemLocked: {
|
|
1751
|
+
readonly request: z.ZodObject<{
|
|
1752
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1753
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1754
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1755
|
+
sceneItemId: z.ZodNumber;
|
|
1756
|
+
}, z.core.$strip>;
|
|
1757
|
+
readonly response: z.ZodObject<{
|
|
1758
|
+
sceneItemLocked: z.ZodBoolean;
|
|
1759
|
+
}, z.core.$strip>;
|
|
1760
|
+
};
|
|
1761
|
+
readonly setSceneItemLocked: {
|
|
1762
|
+
readonly request: z.ZodObject<{
|
|
1763
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1764
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
sceneItemId: z.ZodNumber;
|
|
1767
|
+
sceneItemLocked: z.ZodBoolean;
|
|
1768
|
+
}, z.core.$strip>;
|
|
1769
|
+
readonly response: z.ZodVoid;
|
|
1770
|
+
};
|
|
1771
|
+
readonly getSceneItemIndex: {
|
|
1772
|
+
readonly request: z.ZodObject<{
|
|
1773
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1774
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
sceneItemId: z.ZodNumber;
|
|
1777
|
+
}, z.core.$strip>;
|
|
1778
|
+
readonly response: z.ZodObject<{
|
|
1779
|
+
sceneItemIndex: z.ZodNumber;
|
|
1780
|
+
}, z.core.$strip>;
|
|
1781
|
+
};
|
|
1782
|
+
readonly setSceneItemIndex: {
|
|
1783
|
+
readonly request: z.ZodObject<{
|
|
1784
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1787
|
+
sceneItemId: z.ZodNumber;
|
|
1788
|
+
sceneItemIndex: z.ZodNumber;
|
|
1789
|
+
}, z.core.$strip>;
|
|
1790
|
+
readonly response: z.ZodVoid;
|
|
1791
|
+
};
|
|
1792
|
+
readonly getSceneItemBlendMode: {
|
|
1793
|
+
readonly request: z.ZodObject<{
|
|
1794
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
sceneItemId: z.ZodNumber;
|
|
1798
|
+
}, z.core.$strip>;
|
|
1799
|
+
readonly response: z.ZodObject<{
|
|
1800
|
+
sceneItemBlendMode: z.ZodString;
|
|
1801
|
+
}, z.core.$strip>;
|
|
1802
|
+
};
|
|
1803
|
+
readonly setSceneItemBlendMode: {
|
|
1804
|
+
readonly request: z.ZodObject<{
|
|
1805
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1807
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
sceneItemId: z.ZodNumber;
|
|
1809
|
+
sceneItemBlendMode: z.ZodString;
|
|
1810
|
+
}, z.core.$strip>;
|
|
1811
|
+
readonly response: z.ZodVoid;
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
878
1814
|
getSceneItemList(params: GetSceneItemListRequest): Promise<GetSceneItemListResponse>;
|
|
879
1815
|
getGroupSceneItemList(params: GetGroupSceneItemListRequest): Promise<GetGroupSceneItemListResponse>;
|
|
880
1816
|
getSceneItemId(params: GetSceneItemIdRequest): Promise<GetSceneItemIdResponse>;
|
|
@@ -976,6 +1912,84 @@ type GetSceneSceneTransitionOverrideRequest = z.infer<typeof GetSceneSceneTransi
|
|
|
976
1912
|
type GetSceneSceneTransitionOverrideResponse = z.infer<typeof GetSceneSceneTransitionOverrideResponseSchema>;
|
|
977
1913
|
type SetSceneSceneTransitionOverrideRequest = z.infer<typeof SetSceneSceneTransitionOverrideRequestSchema>;
|
|
978
1914
|
declare class ScenesModule extends BaseModule {
|
|
1915
|
+
static schemas: {
|
|
1916
|
+
readonly getSceneList: {
|
|
1917
|
+
readonly request: z.ZodObject<{
|
|
1918
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
}, z.core.$strip>;
|
|
1920
|
+
readonly response: z.ZodObject<{
|
|
1921
|
+
currentProgramSceneName: z.ZodNullable<z.ZodString>;
|
|
1922
|
+
currentProgramSceneUuid: z.ZodNullable<z.ZodString>;
|
|
1923
|
+
currentPreviewSceneName: z.ZodNullable<z.ZodString>;
|
|
1924
|
+
currentPreviewSceneUuid: z.ZodNullable<z.ZodString>;
|
|
1925
|
+
scenes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1926
|
+
}, z.core.$strip>;
|
|
1927
|
+
};
|
|
1928
|
+
readonly getGroupList: {
|
|
1929
|
+
readonly request: z.ZodVoid;
|
|
1930
|
+
readonly response: z.ZodObject<{
|
|
1931
|
+
groups: z.ZodArray<z.ZodString>;
|
|
1932
|
+
}, z.core.$strip>;
|
|
1933
|
+
};
|
|
1934
|
+
readonly getCurrentProgramScene: {
|
|
1935
|
+
readonly request: z.ZodVoid;
|
|
1936
|
+
readonly response: z.ZodObject<{
|
|
1937
|
+
sceneName: z.ZodString;
|
|
1938
|
+
sceneUuid: z.ZodString;
|
|
1939
|
+
currentProgramSceneName: z.ZodString;
|
|
1940
|
+
currentProgramSceneUuid: z.ZodString;
|
|
1941
|
+
}, z.core.$strip>;
|
|
1942
|
+
};
|
|
1943
|
+
readonly setCurrentProgramScene: {
|
|
1944
|
+
readonly request: z.ZodObject<{
|
|
1945
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1946
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1947
|
+
}, z.core.$strip>;
|
|
1948
|
+
readonly response: z.ZodVoid;
|
|
1949
|
+
};
|
|
1950
|
+
readonly getCurrentPreviewScene: {
|
|
1951
|
+
readonly request: z.ZodVoid;
|
|
1952
|
+
readonly response: z.ZodObject<{
|
|
1953
|
+
sceneName: z.ZodString;
|
|
1954
|
+
sceneUuid: z.ZodString;
|
|
1955
|
+
currentPreviewSceneName: z.ZodString;
|
|
1956
|
+
currentPreviewSceneUuid: z.ZodString;
|
|
1957
|
+
}, z.core.$strip>;
|
|
1958
|
+
};
|
|
1959
|
+
readonly setCurrentPreviewScene: {
|
|
1960
|
+
readonly request: z.ZodObject<{
|
|
1961
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1962
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1963
|
+
}, z.core.$strip>;
|
|
1964
|
+
readonly response: z.ZodVoid;
|
|
1965
|
+
};
|
|
1966
|
+
readonly createScene: {
|
|
1967
|
+
readonly request: z.ZodObject<{
|
|
1968
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1969
|
+
sceneName: z.ZodString;
|
|
1970
|
+
}, z.core.$strip>;
|
|
1971
|
+
readonly response: z.ZodObject<{
|
|
1972
|
+
sceneUuid: z.ZodString;
|
|
1973
|
+
}, z.core.$strip>;
|
|
1974
|
+
};
|
|
1975
|
+
readonly removeScene: {
|
|
1976
|
+
readonly request: z.ZodObject<{
|
|
1977
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1978
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1979
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1980
|
+
}, z.core.$strip>;
|
|
1981
|
+
readonly response: z.ZodVoid;
|
|
1982
|
+
};
|
|
1983
|
+
readonly setSceneName: {
|
|
1984
|
+
readonly request: z.ZodObject<{
|
|
1985
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
sceneName: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
sceneUuid: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
newSceneName: z.ZodString;
|
|
1989
|
+
}, z.core.$strip>;
|
|
1990
|
+
readonly response: z.ZodVoid;
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
979
1993
|
getSceneList(params?: GetSceneListRequest): Promise<GetSceneListResponse>;
|
|
980
1994
|
getGroupList(): Promise<GetGroupListResponse>;
|
|
981
1995
|
getCurrentProgramScene(): Promise<GetCurrentProgramSceneResponse>;
|
|
@@ -1030,6 +2044,52 @@ type GetSourceScreenshotResponse = z.infer<typeof GetSourceScreenshotResponseSch
|
|
|
1030
2044
|
type SaveSourceScreenshotRequest = z.infer<typeof SaveSourceScreenshotRequestSchema>;
|
|
1031
2045
|
type GetCanvasListResponse = z.infer<typeof GetCanvasListResponseSchema>;
|
|
1032
2046
|
declare class SourcesModule extends BaseModule {
|
|
2047
|
+
static schemas: {
|
|
2048
|
+
readonly getSourceActive: {
|
|
2049
|
+
readonly request: z.ZodObject<{
|
|
2050
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
2052
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
}, z.core.$strip>;
|
|
2054
|
+
readonly response: z.ZodObject<{
|
|
2055
|
+
videoActive: z.ZodBoolean;
|
|
2056
|
+
videoShowing: z.ZodBoolean;
|
|
2057
|
+
}, z.core.$strip>;
|
|
2058
|
+
};
|
|
2059
|
+
readonly getSourceScreenshot: {
|
|
2060
|
+
readonly request: z.ZodObject<{
|
|
2061
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
2062
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
imageFormat: z.ZodString;
|
|
2065
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
2066
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
2067
|
+
imageCompressionQuality: z.ZodOptional<z.ZodNumber>;
|
|
2068
|
+
}, z.core.$strip>;
|
|
2069
|
+
readonly response: z.ZodObject<{
|
|
2070
|
+
imageData: z.ZodString;
|
|
2071
|
+
}, z.core.$strip>;
|
|
2072
|
+
};
|
|
2073
|
+
readonly saveSourceScreenshot: {
|
|
2074
|
+
readonly request: z.ZodObject<{
|
|
2075
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
2078
|
+
imageFormat: z.ZodString;
|
|
2079
|
+
imageFilePath: z.ZodString;
|
|
2080
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
2081
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
2082
|
+
imageCompressionQuality: z.ZodOptional<z.ZodNumber>;
|
|
2083
|
+
}, z.core.$strip>;
|
|
2084
|
+
readonly response: z.ZodVoid;
|
|
2085
|
+
};
|
|
2086
|
+
readonly getCanvasList: {
|
|
2087
|
+
readonly request: z.ZodVoid;
|
|
2088
|
+
readonly response: z.ZodObject<{
|
|
2089
|
+
canvases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2090
|
+
}, z.core.$strip>;
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
1033
2093
|
getSourceActive(params: GetSourceActiveRequest): Promise<GetSourceActiveResponse>;
|
|
1034
2094
|
getSourceScreenshot(params: GetSourceScreenshotRequest): Promise<GetSourceScreenshotResponse>;
|
|
1035
2095
|
saveSourceScreenshot(params: SaveSourceScreenshotRequest): Promise<void>;
|
|
@@ -1056,6 +2116,41 @@ type GetStreamStatusResponse = z.infer<typeof GetStreamStatusResponseSchema>;
|
|
|
1056
2116
|
type ToggleStreamResponse = z.infer<typeof ToggleStreamResponseSchema>;
|
|
1057
2117
|
type SendStreamCaptionRequest = z.infer<typeof SendStreamCaptionRequestSchema>;
|
|
1058
2118
|
declare class StreamModule extends BaseModule {
|
|
2119
|
+
static schemas: {
|
|
2120
|
+
readonly getStreamStatus: {
|
|
2121
|
+
readonly request: z.ZodVoid;
|
|
2122
|
+
readonly response: z.ZodObject<{
|
|
2123
|
+
outputActive: z.ZodBoolean;
|
|
2124
|
+
outputReconnecting: z.ZodBoolean;
|
|
2125
|
+
outputTimecode: z.ZodString;
|
|
2126
|
+
outputDuration: z.ZodNumber;
|
|
2127
|
+
outputCongestion: z.ZodNumber;
|
|
2128
|
+
outputBytes: z.ZodNumber;
|
|
2129
|
+
outputSkippedFrames: z.ZodNumber;
|
|
2130
|
+
outputTotalFrames: z.ZodNumber;
|
|
2131
|
+
}, z.core.$strip>;
|
|
2132
|
+
};
|
|
2133
|
+
readonly toggleStream: {
|
|
2134
|
+
readonly request: z.ZodVoid;
|
|
2135
|
+
readonly response: z.ZodObject<{
|
|
2136
|
+
outputActive: z.ZodBoolean;
|
|
2137
|
+
}, z.core.$strip>;
|
|
2138
|
+
};
|
|
2139
|
+
readonly startStream: {
|
|
2140
|
+
readonly request: z.ZodVoid;
|
|
2141
|
+
readonly response: z.ZodVoid;
|
|
2142
|
+
};
|
|
2143
|
+
readonly stopStream: {
|
|
2144
|
+
readonly request: z.ZodVoid;
|
|
2145
|
+
readonly response: z.ZodVoid;
|
|
2146
|
+
};
|
|
2147
|
+
readonly sendStreamCaption: {
|
|
2148
|
+
readonly request: z.ZodObject<{
|
|
2149
|
+
captionText: z.ZodString;
|
|
2150
|
+
}, z.core.$strip>;
|
|
2151
|
+
readonly response: z.ZodVoid;
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
1059
2154
|
getStreamStatus(): Promise<GetStreamStatusResponse>;
|
|
1060
2155
|
toggleStream(): Promise<ToggleStreamResponse>;
|
|
1061
2156
|
startStream(): Promise<void>;
|
|
@@ -1107,6 +2202,71 @@ type SetCurrentSceneTransitionSettingsRequest = z.infer<typeof SetCurrentSceneTr
|
|
|
1107
2202
|
type GetCurrentSceneTransitionCursorResponse = z.infer<typeof GetCurrentSceneTransitionCursorResponseSchema>;
|
|
1108
2203
|
type SetTBarPositionRequest = z.infer<typeof SetTBarPositionRequestSchema>;
|
|
1109
2204
|
declare class TransitionsModule extends BaseModule {
|
|
2205
|
+
static schemas: {
|
|
2206
|
+
readonly getTransitionKindList: {
|
|
2207
|
+
readonly request: z.ZodVoid;
|
|
2208
|
+
readonly response: z.ZodObject<{
|
|
2209
|
+
transitionKinds: z.ZodArray<z.ZodString>;
|
|
2210
|
+
}, z.core.$strip>;
|
|
2211
|
+
};
|
|
2212
|
+
readonly getSceneTransitionList: {
|
|
2213
|
+
readonly request: z.ZodVoid;
|
|
2214
|
+
readonly response: z.ZodObject<{
|
|
2215
|
+
currentSceneTransitionName: z.ZodNullable<z.ZodString>;
|
|
2216
|
+
currentSceneTransitionUuid: z.ZodNullable<z.ZodString>;
|
|
2217
|
+
currentSceneTransitionKind: z.ZodNullable<z.ZodString>;
|
|
2218
|
+
transitions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2219
|
+
}, z.core.$strip>;
|
|
2220
|
+
};
|
|
2221
|
+
readonly getCurrentSceneTransition: {
|
|
2222
|
+
readonly request: z.ZodVoid;
|
|
2223
|
+
readonly response: z.ZodObject<{
|
|
2224
|
+
transitionName: z.ZodString;
|
|
2225
|
+
transitionUuid: z.ZodString;
|
|
2226
|
+
transitionKind: z.ZodString;
|
|
2227
|
+
transitionFixed: z.ZodBoolean;
|
|
2228
|
+
transitionDuration: z.ZodNullable<z.ZodNumber>;
|
|
2229
|
+
transitionConfigurable: z.ZodBoolean;
|
|
2230
|
+
transitionSettings: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2231
|
+
}, z.core.$strip>;
|
|
2232
|
+
};
|
|
2233
|
+
readonly setCurrentSceneTransition: {
|
|
2234
|
+
readonly request: z.ZodObject<{
|
|
2235
|
+
transitionName: z.ZodString;
|
|
2236
|
+
}, z.core.$strip>;
|
|
2237
|
+
readonly response: z.ZodVoid;
|
|
2238
|
+
};
|
|
2239
|
+
readonly setCurrentSceneTransitionDuration: {
|
|
2240
|
+
readonly request: z.ZodObject<{
|
|
2241
|
+
transitionDuration: z.ZodNumber;
|
|
2242
|
+
}, z.core.$strip>;
|
|
2243
|
+
readonly response: z.ZodVoid;
|
|
2244
|
+
};
|
|
2245
|
+
readonly setCurrentSceneTransitionSettings: {
|
|
2246
|
+
readonly request: z.ZodObject<{
|
|
2247
|
+
transitionSettings: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2248
|
+
overlay: z.ZodOptional<z.ZodBoolean>;
|
|
2249
|
+
}, z.core.$strip>;
|
|
2250
|
+
readonly response: z.ZodVoid;
|
|
2251
|
+
};
|
|
2252
|
+
readonly getCurrentSceneTransitionCursor: {
|
|
2253
|
+
readonly request: z.ZodVoid;
|
|
2254
|
+
readonly response: z.ZodObject<{
|
|
2255
|
+
transitionCursor: z.ZodNumber;
|
|
2256
|
+
}, z.core.$strip>;
|
|
2257
|
+
};
|
|
2258
|
+
readonly triggerStudioModeTransition: {
|
|
2259
|
+
readonly request: z.ZodVoid;
|
|
2260
|
+
readonly response: z.ZodVoid;
|
|
2261
|
+
};
|
|
2262
|
+
readonly setTBarPosition: {
|
|
2263
|
+
readonly request: z.ZodObject<{
|
|
2264
|
+
position: z.ZodNumber;
|
|
2265
|
+
release: z.ZodOptional<z.ZodBoolean>;
|
|
2266
|
+
}, z.core.$strip>;
|
|
2267
|
+
readonly response: z.ZodVoid;
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
1110
2270
|
getTransitionKindList(): Promise<GetTransitionKindListResponse>;
|
|
1111
2271
|
getSceneTransitionList(): Promise<GetSceneTransitionListResponse>;
|
|
1112
2272
|
getCurrentSceneTransition(): Promise<GetCurrentSceneTransitionResponse>;
|
|
@@ -1160,6 +2320,65 @@ type GetMonitorListResponse = z.infer<typeof GetMonitorListResponseSchema>;
|
|
|
1160
2320
|
type OpenVideoMixProjectorRequest = z.infer<typeof OpenVideoMixProjectorRequestSchema>;
|
|
1161
2321
|
type OpenSourceProjectorRequest = z.infer<typeof OpenSourceProjectorRequestSchema>;
|
|
1162
2322
|
declare class UiModule extends BaseModule {
|
|
2323
|
+
static schemas: {
|
|
2324
|
+
readonly getStudioModeEnabled: {
|
|
2325
|
+
readonly request: z.ZodVoid;
|
|
2326
|
+
readonly response: z.ZodObject<{
|
|
2327
|
+
studioModeEnabled: z.ZodBoolean;
|
|
2328
|
+
}, z.core.$strip>;
|
|
2329
|
+
};
|
|
2330
|
+
readonly setStudioModeEnabled: {
|
|
2331
|
+
readonly request: z.ZodObject<{
|
|
2332
|
+
studioModeEnabled: z.ZodBoolean;
|
|
2333
|
+
}, z.core.$strip>;
|
|
2334
|
+
readonly response: z.ZodVoid;
|
|
2335
|
+
};
|
|
2336
|
+
readonly openInputPropertiesDialog: {
|
|
2337
|
+
readonly request: z.ZodObject<{
|
|
2338
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
2339
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
2340
|
+
}, z.core.$strip>;
|
|
2341
|
+
readonly response: z.ZodVoid;
|
|
2342
|
+
};
|
|
2343
|
+
readonly openInputFiltersDialog: {
|
|
2344
|
+
readonly request: z.ZodObject<{
|
|
2345
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
2346
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
2347
|
+
}, z.core.$strip>;
|
|
2348
|
+
readonly response: z.ZodVoid;
|
|
2349
|
+
};
|
|
2350
|
+
readonly openInputInteractDialog: {
|
|
2351
|
+
readonly request: z.ZodObject<{
|
|
2352
|
+
inputName: z.ZodOptional<z.ZodString>;
|
|
2353
|
+
inputUuid: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
}, z.core.$strip>;
|
|
2355
|
+
readonly response: z.ZodVoid;
|
|
2356
|
+
};
|
|
2357
|
+
readonly getMonitorList: {
|
|
2358
|
+
readonly request: z.ZodVoid;
|
|
2359
|
+
readonly response: z.ZodObject<{
|
|
2360
|
+
monitors: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
2361
|
+
}, z.core.$strip>;
|
|
2362
|
+
};
|
|
2363
|
+
readonly openVideoMixProjector: {
|
|
2364
|
+
readonly request: z.ZodObject<{
|
|
2365
|
+
videoMixType: z.ZodString;
|
|
2366
|
+
monitorIndex: z.ZodOptional<z.ZodNumber>;
|
|
2367
|
+
projectorGeometry: z.ZodOptional<z.ZodString>;
|
|
2368
|
+
}, z.core.$strip>;
|
|
2369
|
+
readonly response: z.ZodVoid;
|
|
2370
|
+
};
|
|
2371
|
+
readonly openSourceProjector: {
|
|
2372
|
+
readonly request: z.ZodObject<{
|
|
2373
|
+
canvasUuid: z.ZodOptional<z.ZodString>;
|
|
2374
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
sourceUuid: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
monitorIndex: z.ZodOptional<z.ZodNumber>;
|
|
2377
|
+
projectorGeometry: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
}, z.core.$strip>;
|
|
2379
|
+
readonly response: z.ZodVoid;
|
|
2380
|
+
};
|
|
2381
|
+
};
|
|
1163
2382
|
getStudioModeEnabled(): Promise<GetStudioModeEnabledResponse>;
|
|
1164
2383
|
setStudioModeEnabled(params: SetStudioModeEnabledRequest): Promise<void>;
|
|
1165
2384
|
openInputPropertiesDialog(params: OpenInputPropertiesDialogRequest): Promise<void>;
|