n8n-nodes-bookoly 1.0.4
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/LICENSE.md +21 -0
- package/README.md +94 -0
- package/dist/credentials/BookolyApi.credentials.d.ts +9 -0
- package/dist/credentials/BookolyApi.credentials.js +47 -0
- package/dist/credentials/BookolyApi.credentials.js.map +1 -0
- package/dist/nodes/Bookoly/Bookoly.node.d.ts +7 -0
- package/dist/nodes/Bookoly/Bookoly.node.js +82 -0
- package/dist/nodes/Bookoly/Bookoly.node.js.map +1 -0
- package/dist/nodes/Bookoly/Bookoly.node.json +18 -0
- package/dist/nodes/Bookoly/bookoly.svg +40 -0
- package/dist/nodes/Bookoly/handlers/file/generateSubtitleFile.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/file/generateSubtitleFile.js +42 -0
- package/dist/nodes/Bookoly/handlers/file/generateSubtitleFile.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/file/index.d.ts +6 -0
- package/dist/nodes/Bookoly/handlers/file/index.js +10 -0
- package/dist/nodes/Bookoly/handlers/file/index.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/getResource.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/getResource.js +92 -0
- package/dist/nodes/Bookoly/handlers/getResource.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/index.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/index.js +17 -0
- package/dist/nodes/Bookoly/handlers/index.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/sound/combineSounds.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/sound/combineSounds.js +20 -0
- package/dist/nodes/Bookoly/handlers/sound/combineSounds.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/sound/createSoundEffect.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/sound/createSoundEffect.js +19 -0
- package/dist/nodes/Bookoly/handlers/sound/createSoundEffect.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/sound/index.d.ts +8 -0
- package/dist/nodes/Bookoly/handlers/sound/index.js +12 -0
- package/dist/nodes/Bookoly/handlers/sound/index.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/speech/createSpeech.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/speech/createSpeech.js +24 -0
- package/dist/nodes/Bookoly/handlers/speech/createSpeech.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/speech/index.d.ts +6 -0
- package/dist/nodes/Bookoly/handlers/speech/index.js +10 -0
- package/dist/nodes/Bookoly/handlers/speech/index.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/transcript/createTranscript.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/transcript/createTranscript.js +24 -0
- package/dist/nodes/Bookoly/handlers/transcript/createTranscript.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/transcript/index.d.ts +6 -0
- package/dist/nodes/Bookoly/handlers/transcript/index.js +10 -0
- package/dist/nodes/Bookoly/handlers/transcript/index.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/addAudioToVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/addAudioToVideo.js +30 -0
- package/dist/nodes/Bookoly/handlers/video/addAudioToVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/addAudioWithSubtitlesToVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/addAudioWithSubtitlesToVideo.js +52 -0
- package/dist/nodes/Bookoly/handlers/video/addAudioWithSubtitlesToVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/addSubtitlesToVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/addSubtitlesToVideo.js +42 -0
- package/dist/nodes/Bookoly/handlers/video/addSubtitlesToVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/addSubtitlesToVideoFromFile.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/addSubtitlesToVideoFromFile.js +26 -0
- package/dist/nodes/Bookoly/handlers/video/addSubtitlesToVideoFromFile.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/addWatermarkToVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/addWatermarkToVideo.js +32 -0
- package/dist/nodes/Bookoly/handlers/video/addWatermarkToVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/blurVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/blurVideo.js +36 -0
- package/dist/nodes/Bookoly/handlers/video/blurVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/clipVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/clipVideo.js +28 -0
- package/dist/nodes/Bookoly/handlers/video/clipVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/createSlideshow.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/createSlideshow.js +24 -0
- package/dist/nodes/Bookoly/handlers/video/createSlideshow.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/cropVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/cropVideo.js +34 -0
- package/dist/nodes/Bookoly/handlers/video/cropVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/extractAudioFromVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/extractAudioFromVideo.js +20 -0
- package/dist/nodes/Bookoly/handlers/video/extractAudioFromVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/frameVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/frameVideo.js +24 -0
- package/dist/nodes/Bookoly/handlers/video/frameVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/generateVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/generateVideo.js +62 -0
- package/dist/nodes/Bookoly/handlers/video/generateVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/getScenes.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/getScenes.js +24 -0
- package/dist/nodes/Bookoly/handlers/video/getScenes.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/index.d.ts +34 -0
- package/dist/nodes/Bookoly/handlers/video/index.js +38 -0
- package/dist/nodes/Bookoly/handlers/video/index.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/muteVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/muteVideo.js +20 -0
- package/dist/nodes/Bookoly/handlers/video/muteVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/rotateVideo.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/rotateVideo.js +24 -0
- package/dist/nodes/Bookoly/handlers/video/rotateVideo.js.map +1 -0
- package/dist/nodes/Bookoly/handlers/video/splitVideoIntoScenes.d.ts +2 -0
- package/dist/nodes/Bookoly/handlers/video/splitVideoIntoScenes.js +34 -0
- package/dist/nodes/Bookoly/handlers/video/splitVideoIntoScenes.js.map +1 -0
- package/dist/nodes/Bookoly/helpers/apiClient.d.ts +3 -0
- package/dist/nodes/Bookoly/helpers/apiClient.js +36 -0
- package/dist/nodes/Bookoly/helpers/apiClient.js.map +1 -0
- package/dist/nodes/Bookoly/resources/commonParams.d.ts +195 -0
- package/dist/nodes/Bookoly/resources/commonParams.js +210 -0
- package/dist/nodes/Bookoly/resources/commonParams.js.map +1 -0
- package/dist/nodes/Bookoly/resources/file.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/file.js +49 -0
- package/dist/nodes/Bookoly/resources/file.js.map +1 -0
- package/dist/nodes/Bookoly/resources/index.d.ts +9 -0
- package/dist/nodes/Bookoly/resources/index.js +36 -0
- package/dist/nodes/Bookoly/resources/index.js.map +1 -0
- package/dist/nodes/Bookoly/resources/sound.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/sound.js +179 -0
- package/dist/nodes/Bookoly/resources/sound.js.map +1 -0
- package/dist/nodes/Bookoly/resources/speech.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/speech.js +47 -0
- package/dist/nodes/Bookoly/resources/speech.js.map +1 -0
- package/dist/nodes/Bookoly/resources/static.d.ts +8 -0
- package/dist/nodes/Bookoly/resources/static.js +196 -0
- package/dist/nodes/Bookoly/resources/static.js.map +1 -0
- package/dist/nodes/Bookoly/resources/subtitleParams.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/subtitleParams.js +167 -0
- package/dist/nodes/Bookoly/resources/subtitleParams.js.map +1 -0
- package/dist/nodes/Bookoly/resources/transcription.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/transcription.js +138 -0
- package/dist/nodes/Bookoly/resources/transcription.js.map +1 -0
- package/dist/nodes/Bookoly/resources/video.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/video.js +135 -0
- package/dist/nodes/Bookoly/resources/video.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/audio.d.ts +44 -0
- package/dist/nodes/Bookoly/resources/videoParams/audio.js +59 -0
- package/dist/nodes/Bookoly/resources/videoParams/audio.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/blur.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/videoParams/blur.js +93 -0
- package/dist/nodes/Bookoly/resources/videoParams/blur.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/clip.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/videoParams/clip.js +40 -0
- package/dist/nodes/Bookoly/resources/videoParams/clip.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/crop.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/videoParams/crop.js +75 -0
- package/dist/nodes/Bookoly/resources/videoParams/crop.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/operations.d.ts +7 -0
- package/dist/nodes/Bookoly/resources/videoParams/operations.js +103 -0
- package/dist/nodes/Bookoly/resources/videoParams/operations.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/scenes.d.ts +90 -0
- package/dist/nodes/Bookoly/resources/videoParams/scenes.js +84 -0
- package/dist/nodes/Bookoly/resources/videoParams/scenes.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/split.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/videoParams/split.js +116 -0
- package/dist/nodes/Bookoly/resources/videoParams/split.js.map +1 -0
- package/dist/nodes/Bookoly/resources/videoParams/watermark.d.ts +2 -0
- package/dist/nodes/Bookoly/resources/videoParams/watermark.js +54 -0
- package/dist/nodes/Bookoly/resources/videoParams/watermark.js.map +1 -0
- package/dist/nodes/Bookoly/types/index.d.ts +295 -0
- package/dist/nodes/Bookoly/types/index.js +287 -0
- package/dist/nodes/Bookoly/types/index.js.map +1 -0
- package/dist/package.json +54 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +54 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.videoResource = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
const subtitleParams_1 = require("./subtitleParams");
|
|
6
|
+
const commonParams_1 = require("./commonParams");
|
|
7
|
+
const scenes_1 = require("./videoParams/scenes");
|
|
8
|
+
const watermark_1 = require("./videoParams/watermark");
|
|
9
|
+
const blur_1 = require("./videoParams/blur");
|
|
10
|
+
const clip_1 = require("./videoParams/clip");
|
|
11
|
+
const crop_1 = require("./videoParams/crop");
|
|
12
|
+
const audio_1 = require("./videoParams/audio");
|
|
13
|
+
const split_1 = require("./videoParams/split");
|
|
14
|
+
const operations_1 = require("./videoParams/operations");
|
|
15
|
+
exports.videoResource = {
|
|
16
|
+
displayName: 'Video',
|
|
17
|
+
value: types_1.ResourceType.VIDEO,
|
|
18
|
+
description: 'Manage video operations',
|
|
19
|
+
operations: [
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Operation',
|
|
22
|
+
name: 'operation',
|
|
23
|
+
type: 'options',
|
|
24
|
+
noDataExpression: true,
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: [types_1.ResourceType.VIDEO],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
options: operations_1.videoOperations,
|
|
31
|
+
default: 'generateVideo',
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
parameters: [
|
|
35
|
+
(0, commonParams_1.getIdParam)(types_1.VideoAction.GET_VIDEO, types_1.ResourceType.VIDEO, 'videoId', 'Video ID', 'The ID of the video'),
|
|
36
|
+
(0, commonParams_1.getNameParam)([
|
|
37
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
38
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
39
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE,
|
|
40
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO,
|
|
41
|
+
types_1.VideoAction.ADD_WATERMARK_TO_VIDEO,
|
|
42
|
+
types_1.VideoAction.BLUR_VIDEO,
|
|
43
|
+
types_1.VideoAction.CLIP_VIDEO,
|
|
44
|
+
types_1.VideoAction.CREATE_SLIDESHOW,
|
|
45
|
+
types_1.VideoAction.CROP_VIDEO,
|
|
46
|
+
types_1.VideoAction.EXTRACT_AUDIO_FROM_VIDEO,
|
|
47
|
+
types_1.VideoAction.FRAME_VIDEO,
|
|
48
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
49
|
+
types_1.VideoAction.MUTE_VIDEO,
|
|
50
|
+
types_1.VideoAction.ROTATE_VIDEO,
|
|
51
|
+
types_1.VideoAction.SPLIT_VIDEO_INTO_SCENES,
|
|
52
|
+
], types_1.ResourceType.VIDEO, 'The name of the video'),
|
|
53
|
+
(0, commonParams_1.getUrlParam)([
|
|
54
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
55
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
56
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE,
|
|
57
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO,
|
|
58
|
+
types_1.VideoAction.ADD_WATERMARK_TO_VIDEO,
|
|
59
|
+
types_1.VideoAction.BLUR_VIDEO,
|
|
60
|
+
types_1.VideoAction.CLIP_VIDEO,
|
|
61
|
+
types_1.VideoAction.CROP_VIDEO,
|
|
62
|
+
types_1.VideoAction.EXTRACT_AUDIO_FROM_VIDEO,
|
|
63
|
+
types_1.VideoAction.FRAME_VIDEO,
|
|
64
|
+
types_1.VideoAction.MUTE_VIDEO,
|
|
65
|
+
types_1.VideoAction.ROTATE_VIDEO,
|
|
66
|
+
types_1.VideoAction.SPLIT_VIDEO_INTO_SCENES,
|
|
67
|
+
], types_1.ResourceType.VIDEO),
|
|
68
|
+
(0, commonParams_1.getMuteParam)([
|
|
69
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
70
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
71
|
+
types_1.VideoAction.ADD_WATERMARK_TO_VIDEO,
|
|
72
|
+
types_1.VideoAction.BLUR_VIDEO,
|
|
73
|
+
types_1.VideoAction.CLIP_VIDEO,
|
|
74
|
+
types_1.VideoAction.CROP_VIDEO,
|
|
75
|
+
types_1.VideoAction.ROTATE_VIDEO,
|
|
76
|
+
types_1.VideoAction.SPLIT_VIDEO_INTO_SCENES,
|
|
77
|
+
], types_1.ResourceType.VIDEO),
|
|
78
|
+
(0, commonParams_1.getResolutionParam)([types_1.VideoAction.CREATE_SLIDESHOW, types_1.VideoAction.GENERATE_VIDEO], types_1.ResourceType.VIDEO),
|
|
79
|
+
(0, commonParams_1.getTextParam)([types_1.VideoAction.GENERATE_VIDEO], types_1.ResourceType.VIDEO),
|
|
80
|
+
(0, commonParams_1.getVoiceParam)(types_1.VideoAction.GENERATE_VIDEO, types_1.ResourceType.VIDEO),
|
|
81
|
+
(0, commonParams_1.getTypeParam)([types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE], types_1.ResourceType.VIDEO),
|
|
82
|
+
(0, commonParams_1.getSubtitleUrlParam)([types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE], types_1.ResourceType.VIDEO),
|
|
83
|
+
(0, commonParams_1.getSecParam)([types_1.VideoAction.FRAME_VIDEO], types_1.ResourceType.VIDEO),
|
|
84
|
+
(0, commonParams_1.getRotateParam)([types_1.VideoAction.ROTATE_VIDEO], types_1.ResourceType.VIDEO),
|
|
85
|
+
audio_1.audioUrlParam,
|
|
86
|
+
audio_1.trimAudioParam,
|
|
87
|
+
audio_1.audioVolumeParam,
|
|
88
|
+
scenes_1.scenesParam,
|
|
89
|
+
...watermark_1.watermarkParams,
|
|
90
|
+
...clip_1.clipOptionParams,
|
|
91
|
+
...crop_1.cropOptionParams,
|
|
92
|
+
...blur_1.blurOptionParam,
|
|
93
|
+
...split_1.splitOptionParams,
|
|
94
|
+
...(0, subtitleParams_1.getSubtitleParameters)([
|
|
95
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
96
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO,
|
|
97
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
98
|
+
]),
|
|
99
|
+
(0, commonParams_1.getWaitParam)([
|
|
100
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
101
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
102
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE,
|
|
103
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO,
|
|
104
|
+
types_1.VideoAction.ADD_WATERMARK_TO_VIDEO,
|
|
105
|
+
types_1.VideoAction.BLUR_VIDEO,
|
|
106
|
+
types_1.VideoAction.CLIP_VIDEO,
|
|
107
|
+
types_1.VideoAction.CREATE_SLIDESHOW,
|
|
108
|
+
types_1.VideoAction.CROP_VIDEO,
|
|
109
|
+
types_1.VideoAction.EXTRACT_AUDIO_FROM_VIDEO,
|
|
110
|
+
types_1.VideoAction.FRAME_VIDEO,
|
|
111
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
112
|
+
types_1.VideoAction.MUTE_VIDEO,
|
|
113
|
+
types_1.VideoAction.ROTATE_VIDEO,
|
|
114
|
+
types_1.VideoAction.SPLIT_VIDEO_INTO_SCENES,
|
|
115
|
+
], types_1.ResourceType.VIDEO, 'If enabled, the node pauses the workflow and checks the server until the video generation is finished, then returns the full video object. If disabled, only the ID and creation timestamp are returned.'),
|
|
116
|
+
(0, commonParams_1.getWebhookUrlParam)([
|
|
117
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
118
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
119
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE,
|
|
120
|
+
types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO,
|
|
121
|
+
types_1.VideoAction.ADD_WATERMARK_TO_VIDEO,
|
|
122
|
+
types_1.VideoAction.BLUR_VIDEO,
|
|
123
|
+
types_1.VideoAction.CLIP_VIDEO,
|
|
124
|
+
types_1.VideoAction.CREATE_SLIDESHOW,
|
|
125
|
+
types_1.VideoAction.CROP_VIDEO,
|
|
126
|
+
types_1.VideoAction.EXTRACT_AUDIO_FROM_VIDEO,
|
|
127
|
+
types_1.VideoAction.FRAME_VIDEO,
|
|
128
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
129
|
+
types_1.VideoAction.MUTE_VIDEO,
|
|
130
|
+
types_1.VideoAction.ROTATE_VIDEO,
|
|
131
|
+
types_1.VideoAction.SPLIT_VIDEO_INTO_SCENES,
|
|
132
|
+
], types_1.ResourceType.VIDEO, 'Enter a valid URL to receive webhook notifications. Video ID and URL will be included.'),
|
|
133
|
+
],
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=video.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../nodes/Bookoly/resources/video.ts"],"names":[],"mappings":";;;AAAA,oCAAyE;AACzE,qDAAyD;AACzD,iDAcwB;AACxB,iDAAmD;AACnD,uDAA0D;AAC1D,6CAAqD;AACrD,6CAAsD;AACtD,6CAAsD;AACtD,+CAAsF;AACtF,+CAAwD;AACxD,yDAA2D;AAE9C,QAAA,aAAa,GAAuB;IAChD,WAAW,EAAE,OAAO;IACpB,KAAK,EAAE,oBAAY,CAAC,KAAK;IACzB,WAAW,EAAE,yBAAyB;IACtC,UAAU,EAAE;QACX;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC,KAAK,CAAC;iBAC9B;aACD;YACD,OAAO,EAAE,4BAAe;YACxB,OAAO,EAAE,eAAe;SACxB;KACD;IACD,UAAU,EAAE;QACX,IAAA,yBAAU,EACT,mBAAW,CAAC,SAAS,EACrB,oBAAY,CAAC,KAAK,EAClB,SAAS,EACT,UAAU,EACV,qBAAqB,CACrB;QACD,IAAA,2BAAY,EACX;YACC,mBAAW,CAAC,kBAAkB;YAC9B,mBAAW,CAAC,iCAAiC;YAC7C,mBAAW,CAAC,gCAAgC;YAC5C,mBAAW,CAAC,sBAAsB;YAClC,mBAAW,CAAC,sBAAsB;YAClC,mBAAW,CAAC,UAAU;YACtB,mBAAW,CAAC,UAAU;YACtB,mBAAW,CAAC,gBAAgB;YAC5B,mBAAW,CAAC,UAAU;YACtB,mBAAW,CAAC,wBAAwB;YACpC,mBAAW,CAAC,WAAW;YACvB,mBAAW,CAAC,cAAc;YAC1B,mBAAW,CAAC,UAAU;YACtB,mBAAW,CAAC,YAAY;YACxB,mBAAW,CAAC,uBAAuB;SACnC,EACD,oBAAY,CAAC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W,CAAC,UAAU;YACtB,mBAAW,CAAC,YAAY;YACxB,mBAAW,CAAC,uBAAuB;SACnC,EACD,oBAAY,CAAC,KAAK,EAClB,wFAAwF,CACxF;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NodePropertyTypes } from 'n8n-workflow';
|
|
2
|
+
import { VideoAction } from '../../types';
|
|
3
|
+
export declare const audioUrlParam: {
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: NodePropertyTypes;
|
|
7
|
+
default: string;
|
|
8
|
+
description: string;
|
|
9
|
+
required: boolean;
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
operation: VideoAction[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const trimAudioParam: {
|
|
17
|
+
displayName: string;
|
|
18
|
+
name: string;
|
|
19
|
+
type: NodePropertyTypes;
|
|
20
|
+
default: boolean;
|
|
21
|
+
description: string;
|
|
22
|
+
displayOptions: {
|
|
23
|
+
show: {
|
|
24
|
+
operation: VideoAction[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare const audioVolumeParam: {
|
|
29
|
+
displayName: string;
|
|
30
|
+
name: string;
|
|
31
|
+
type: NodePropertyTypes;
|
|
32
|
+
default: number;
|
|
33
|
+
description: string;
|
|
34
|
+
typeOptions: {
|
|
35
|
+
minValue: number;
|
|
36
|
+
maxValue: number;
|
|
37
|
+
numberPrecision: number;
|
|
38
|
+
};
|
|
39
|
+
displayOptions: {
|
|
40
|
+
show: {
|
|
41
|
+
operation: VideoAction[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.audioVolumeParam = exports.trimAudioParam = exports.audioUrlParam = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
exports.audioUrlParam = {
|
|
6
|
+
displayName: 'Audio URL',
|
|
7
|
+
name: 'audio_url',
|
|
8
|
+
type: 'string',
|
|
9
|
+
default: '',
|
|
10
|
+
description: 'The public and downloadable URL of the audio file',
|
|
11
|
+
required: true,
|
|
12
|
+
displayOptions: {
|
|
13
|
+
show: {
|
|
14
|
+
operation: [
|
|
15
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
16
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
17
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
exports.trimAudioParam = {
|
|
23
|
+
displayName: 'Trim Audio',
|
|
24
|
+
name: 'trim',
|
|
25
|
+
type: 'boolean',
|
|
26
|
+
default: false,
|
|
27
|
+
description: 'Trim audio to match video length (if longer)',
|
|
28
|
+
displayOptions: {
|
|
29
|
+
show: {
|
|
30
|
+
operation: [
|
|
31
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
32
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
33
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
exports.audioVolumeParam = {
|
|
39
|
+
displayName: 'Volume',
|
|
40
|
+
name: 'volume',
|
|
41
|
+
type: 'number',
|
|
42
|
+
default: 100,
|
|
43
|
+
description: 'Set audio volume from 0% to 100%. 100% is the original volume, and 50% is half the original volume.',
|
|
44
|
+
typeOptions: {
|
|
45
|
+
minValue: 1,
|
|
46
|
+
maxValue: 100,
|
|
47
|
+
numberPrecision: 0,
|
|
48
|
+
},
|
|
49
|
+
displayOptions: {
|
|
50
|
+
show: {
|
|
51
|
+
operation: [
|
|
52
|
+
types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
53
|
+
types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
54
|
+
types_1.VideoAction.GENERATE_VIDEO,
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=audio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../../../../nodes/Bookoly/resources/videoParams/audio.ts"],"names":[],"mappings":";;;AACA,uCAA0C;AAE7B,QAAA,aAAa,GAAG;IAC5B,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,QAA6B;IACnC,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE;QACf,IAAI,EAAE;YACL,SAAS,EAAE;gBACV,mBAAW,CAAC,kBAAkB;gBAC9B,mBAAW,CAAC,iCAAiC;gBAC7C,mBAAW,CAAC,cAAc;aAC1B;SACD;KACD;CACD,CAAC;AAEW,QAAA,cAAc,GAAG;IAC7B,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,SAA8B;IACpC,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,8CAA8C;IAC3D,cAAc,EAAE;QACf,IAAI,EAAE;YACL,SAAS,EAAE;gBACV,mBAAW,CAAC,kBAAkB;gBAC9B,mBAAW,CAAC,iCAAiC;gBAC7C,mBAAW,CAAC,cAAc;aAC1B;SACD;KACD;CACD,CAAC;AAEW,QAAA,gBAAgB,GAAG;IAC/B,WAAW,EAAE,QAAQ;IACrB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAA6B;IACnC,OAAO,EAAE,GAAG;IACZ,WAAW,EACV,qGAAqG;IACtG,WAAW,EAAE;QACZ,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,GAAG;QACb,eAAe,EAAE,CAAC;KAClB;IACD,cAAc,EAAE;QACf,IAAI,EAAE;YACL,SAAS,EAAE;gBACV,mBAAW,CAAC,kBAAkB;gBAC9B,mBAAW,CAAC,iCAAiC;gBAC7C,mBAAW,CAAC,cAAc;aAC1B;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.blurOptionParam = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
exports.blurOptionParam = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'X Coordinate',
|
|
8
|
+
name: 'x',
|
|
9
|
+
type: 'number',
|
|
10
|
+
default: 0,
|
|
11
|
+
description: 'Horizontal position of the top-left corner of the blur area',
|
|
12
|
+
required: true,
|
|
13
|
+
typeOptions: {
|
|
14
|
+
minValue: 0,
|
|
15
|
+
numberPrecision: 0,
|
|
16
|
+
},
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: {
|
|
19
|
+
operation: [types_1.VideoAction.BLUR_VIDEO],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
displayName: 'Y Coordinate',
|
|
25
|
+
name: 'y',
|
|
26
|
+
type: 'number',
|
|
27
|
+
default: 0,
|
|
28
|
+
description: 'Vertical position of the top-left corner of the blur area',
|
|
29
|
+
required: true,
|
|
30
|
+
typeOptions: {
|
|
31
|
+
minValue: 0,
|
|
32
|
+
numberPrecision: 0,
|
|
33
|
+
},
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: {
|
|
36
|
+
operation: [types_1.VideoAction.BLUR_VIDEO],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Box Width',
|
|
42
|
+
name: 'box_width',
|
|
43
|
+
type: 'number',
|
|
44
|
+
default: 5,
|
|
45
|
+
description: 'Width of the blur box in pixels. Must not exceed the video width.',
|
|
46
|
+
required: true,
|
|
47
|
+
typeOptions: {
|
|
48
|
+
minValue: 5,
|
|
49
|
+
numberPrecision: 0,
|
|
50
|
+
},
|
|
51
|
+
displayOptions: {
|
|
52
|
+
show: {
|
|
53
|
+
operation: [types_1.VideoAction.BLUR_VIDEO],
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Box Height',
|
|
59
|
+
name: 'box_height',
|
|
60
|
+
type: 'number',
|
|
61
|
+
default: 5,
|
|
62
|
+
description: 'Height of the blur box in pixels. Must not exceed the video height.',
|
|
63
|
+
required: true,
|
|
64
|
+
typeOptions: {
|
|
65
|
+
minValue: 5,
|
|
66
|
+
numberPrecision: 0,
|
|
67
|
+
},
|
|
68
|
+
displayOptions: {
|
|
69
|
+
show: {
|
|
70
|
+
operation: [types_1.VideoAction.BLUR_VIDEO],
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Power',
|
|
76
|
+
name: 'power',
|
|
77
|
+
type: 'number',
|
|
78
|
+
default: 10,
|
|
79
|
+
description: 'Controls the intensity of the blur. Higher values produce stronger blur. Recommended range: 10 to 25.',
|
|
80
|
+
required: true,
|
|
81
|
+
typeOptions: {
|
|
82
|
+
maxValue: 100,
|
|
83
|
+
minValue: 1,
|
|
84
|
+
numberPrecision: 0,
|
|
85
|
+
},
|
|
86
|
+
displayOptions: {
|
|
87
|
+
show: {
|
|
88
|
+
operation: [types_1.VideoAction.BLUR_VIDEO],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
//# sourceMappingURL=blur.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blur.js","sourceRoot":"","sources":["../../../../../nodes/Bookoly/resources/videoParams/blur.ts"],"names":[],"mappings":";;;AACA,uCAA0C;AAE7B,QAAA,e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ACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EACV,uGAAuG;QACxG,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,GAAG;YACb,QAAQ,EAAE,CAAC;YACX,eAAe,EAAE,CAAC;SAClB;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clipOptionParams = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
exports.clipOptionParams = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Clip - Start Time',
|
|
8
|
+
name: 'start',
|
|
9
|
+
type: 'number',
|
|
10
|
+
required: true,
|
|
11
|
+
typeOptions: {
|
|
12
|
+
minValue: 0,
|
|
13
|
+
numberPrecision: 2,
|
|
14
|
+
},
|
|
15
|
+
default: 0,
|
|
16
|
+
description: 'Set the start time of the clip (in seconds) from the beginning of the video',
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: {
|
|
19
|
+
operation: [types_1.VideoAction.CLIP_VIDEO],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
displayName: 'Clip - Duration',
|
|
25
|
+
name: 'duration',
|
|
26
|
+
type: 'number',
|
|
27
|
+
typeOptions: {
|
|
28
|
+
minValue: 0.1,
|
|
29
|
+
numberPrecision: 2,
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'Set how long the clip should be (in seconds). Leave blank to include the remainder of the video.',
|
|
33
|
+
displayOptions: {
|
|
34
|
+
show: {
|
|
35
|
+
operation: [types_1.VideoAction.CLIP_VIDEO],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
//# sourceMappingURL=clip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clip.js","sourceRoot":"","sources":["../../../../../nodes/Bookoly/resources/videoParams/clip.ts"],"names":[],"mappings":";;;AACA,uCAA0C;AAE7B,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAA6B;QACnC,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,eAAe,EAAE,CAAC;SAClB;QACD,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,6EAA6E;QAC1F,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;IACD;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAA6B;QACnC,WAAW,EAAE;YACZ,QAAQ,EAAE,GAAG;YACb,eAAe,EAAE,CAAC;SAClB;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EACV,kGAAkG;QACnG,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cropOptionParams = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
exports.cropOptionParams = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Crop - X Coordinate',
|
|
8
|
+
name: 'x',
|
|
9
|
+
type: 'number',
|
|
10
|
+
default: 0,
|
|
11
|
+
description: 'Horizontal position of the crop’s top-left corner',
|
|
12
|
+
required: true,
|
|
13
|
+
typeOptions: {
|
|
14
|
+
minValue: 0,
|
|
15
|
+
numberPrecision: 0,
|
|
16
|
+
},
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: {
|
|
19
|
+
operation: [types_1.VideoAction.CROP_VIDEO],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
displayName: 'Crop - Y Coordinate',
|
|
25
|
+
name: 'y',
|
|
26
|
+
type: 'number',
|
|
27
|
+
default: 0,
|
|
28
|
+
description: 'Vertical position of the crop’s top-left corner',
|
|
29
|
+
required: true,
|
|
30
|
+
typeOptions: {
|
|
31
|
+
minValue: 0,
|
|
32
|
+
numberPrecision: 0,
|
|
33
|
+
},
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: {
|
|
36
|
+
operation: [types_1.VideoAction.CROP_VIDEO],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Crop - Width',
|
|
42
|
+
name: 'width',
|
|
43
|
+
type: 'number',
|
|
44
|
+
default: 100,
|
|
45
|
+
description: 'Width of the cropped area in pixels. Must not exceed the video width.',
|
|
46
|
+
required: true,
|
|
47
|
+
typeOptions: {
|
|
48
|
+
minValue: 1,
|
|
49
|
+
numberPrecision: 0,
|
|
50
|
+
},
|
|
51
|
+
displayOptions: {
|
|
52
|
+
show: {
|
|
53
|
+
operation: [types_1.VideoAction.CROP_VIDEO],
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Crop - Height',
|
|
59
|
+
name: 'height',
|
|
60
|
+
type: 'number',
|
|
61
|
+
default: 100,
|
|
62
|
+
description: 'Height of the cropped area in pixels. Must not exceed the video height.',
|
|
63
|
+
required: true,
|
|
64
|
+
typeOptions: {
|
|
65
|
+
minValue: 1,
|
|
66
|
+
numberPrecision: 0,
|
|
67
|
+
},
|
|
68
|
+
displayOptions: {
|
|
69
|
+
show: {
|
|
70
|
+
operation: [types_1.VideoAction.CROP_VIDEO],
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
//# sourceMappingURL=crop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crop.js","sourceRoot":"","sources":["../../../../../nodes/Bookoly/resources/videoParams/crop.ts"],"names":[],"mappings":";;;AACA,uCAA0C;AAE7B,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,QAA6B;QACnC,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,mDAAmD;QAChE,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,eAAe,EAAE,CAAC;SAClB;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;IACD;QACC,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,QAA6B;QACnC,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,iDAAiD;QAC9D,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,eAAe,EAAE,CAAC;SAClB;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAA6B;QACnC,OAAO,EAAE,GAAG;QACZ,WAAW,EAAE,uEAAuE;QACpF,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,eAAe,EAAE,CAAC;SAClB;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;IACD;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAA6B;QACnC,OAAO,EAAE,GAAG;QACZ,WAAW,EAAE,yEAAyE;QACtF,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,eAAe,EAAE,CAAC;SAClB;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAW,CAAC,UAAU,CAAC;aACnC;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.videoOperations = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
exports.videoOperations = [
|
|
6
|
+
{
|
|
7
|
+
name: 'Add Audio to a Video',
|
|
8
|
+
value: types_1.VideoAction.ADD_AUDIO_TO_VIDEO,
|
|
9
|
+
description: 'Seamlessly add audio tracks to your video',
|
|
10
|
+
action: 'Add audio to a video',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'Add Audio with Subtitles to a Video',
|
|
14
|
+
value: types_1.VideoAction.ADD_AUDIO_WITH_SUBTITLES_TO_VIDEO,
|
|
15
|
+
description: 'Adds audio to your video and automatically generates and adds subtitles from the audio',
|
|
16
|
+
action: 'Add audio with subtitles to a video',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Add Subtitles to a Video',
|
|
20
|
+
value: types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO,
|
|
21
|
+
description: 'Automatically generates and adds subtitles to your video',
|
|
22
|
+
action: 'Add subtitles to a video',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Add Subtitles to a Video From a File',
|
|
26
|
+
value: types_1.VideoAction.ADD_SUBTITLES_TO_VIDEO_FROM_FILE,
|
|
27
|
+
description: 'Automatically generates and adds subtitles to your video',
|
|
28
|
+
action: 'Add subtitles to a video from a file',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Add Watermark to a Video',
|
|
32
|
+
value: types_1.VideoAction.ADD_WATERMARK_TO_VIDEO,
|
|
33
|
+
description: 'Places an image as a watermark on the video at specified coordinates',
|
|
34
|
+
action: 'Add a watermark to a video',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Blur a Video',
|
|
38
|
+
value: types_1.VideoAction.BLUR_VIDEO,
|
|
39
|
+
description: 'Apply a blur effect to a specific area of a video',
|
|
40
|
+
action: 'Blur a video',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Clip a Video',
|
|
44
|
+
value: types_1.VideoAction.CLIP_VIDEO,
|
|
45
|
+
description: 'Extract a clip from a video using a start time and duration',
|
|
46
|
+
action: 'Clip a video',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Create a Slideshow',
|
|
50
|
+
value: types_1.VideoAction.CREATE_SLIDESHOW,
|
|
51
|
+
description: 'Creates a video slideshow from images, videos, or a combination of both',
|
|
52
|
+
action: 'Create a slideshow',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Crop a Video',
|
|
56
|
+
value: types_1.VideoAction.CROP_VIDEO,
|
|
57
|
+
description: 'Crops the video to a specific area using custom coordinates and dimensions',
|
|
58
|
+
action: 'Crop a video',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Extract Audio From a Video',
|
|
62
|
+
value: types_1.VideoAction.EXTRACT_AUDIO_FROM_VIDEO,
|
|
63
|
+
description: 'Separates and saves the audio track from a video file',
|
|
64
|
+
action: 'Extract audio from a video',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Frame a Video',
|
|
68
|
+
value: types_1.VideoAction.FRAME_VIDEO,
|
|
69
|
+
description: 'Extract a single frame from a video at a specified timestamp and save it as an image',
|
|
70
|
+
action: 'Frame a video',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Generate a Video',
|
|
74
|
+
value: types_1.VideoAction.GENERATE_VIDEO,
|
|
75
|
+
description: 'Create a video from images and video clips, generate and add a voice-over with automated subtitles, and integrate background music',
|
|
76
|
+
action: 'Generate a video',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'Get a Specific Video',
|
|
80
|
+
value: types_1.VideoAction.GET_VIDEO,
|
|
81
|
+
description: 'Fetches video data from the API using the video ID',
|
|
82
|
+
action: 'Get a video',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'Mute a Video',
|
|
86
|
+
value: types_1.VideoAction.MUTE_VIDEO,
|
|
87
|
+
description: "Mute the video's audio by reducing the volume to zero",
|
|
88
|
+
action: 'Mute a video',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'Rotate a Video',
|
|
92
|
+
value: types_1.VideoAction.ROTATE_VIDEO,
|
|
93
|
+
description: 'Rotate a video by 90, 180, or 270 degrees clockwise',
|
|
94
|
+
action: 'Rotate a video',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'Split a Video Into Scenes',
|
|
98
|
+
value: types_1.VideoAction.SPLIT_VIDEO_INTO_SCENES,
|
|
99
|
+
description: 'Automatically divide a video into multiple segments based on scene detection or fixed intervals',
|
|
100
|
+
action: 'Split a video into scenes',
|
|
101
|
+
},
|
|
102
|
+
];
|
|
103
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../../nodes/Bookoly/resources/videoParams/operations.ts"],"names":[],"mappings":";;;AAAA,uCAA0C;AAE7B,QAAA,eAAe,GAAG;IAC9B;QACC,IAAI,EAAE,sBAAsB;Q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