@harryhoga/n8n-nodes-aliyun 0.1.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.
Files changed (79) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +104 -0
  3. package/dist/credentials/AliBailianApi.credentials.d.ts +7 -0
  4. package/dist/credentials/AliBailianApi.credentials.js +38 -0
  5. package/dist/credentials/AliBailianApi.credentials.js.map +1 -0
  6. package/dist/credentials/AliyunOssApi.credentials.d.ts +7 -0
  7. package/dist/credentials/AliyunOssApi.credentials.js +87 -0
  8. package/dist/credentials/AliyunOssApi.credentials.js.map +1 -0
  9. package/dist/index.d.ts +5 -0
  10. package/dist/index.js +12 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/nodes/AliBailian/AliBailian.node.d.ts +39 -0
  13. package/dist/nodes/AliBailian/AliBailian.node.js +547 -0
  14. package/dist/nodes/AliBailian/AliBailian.node.js.map +1 -0
  15. package/dist/nodes/AliBailian/alibailian.svg +11 -0
  16. package/dist/nodes/AliBailian/descriptions/audio.d.ts +3 -0
  17. package/dist/nodes/AliBailian/descriptions/audio.js +284 -0
  18. package/dist/nodes/AliBailian/descriptions/audio.js.map +1 -0
  19. package/dist/nodes/AliBailian/descriptions/image.d.ts +3 -0
  20. package/dist/nodes/AliBailian/descriptions/image.js +996 -0
  21. package/dist/nodes/AliBailian/descriptions/image.js.map +1 -0
  22. package/dist/nodes/AliBailian/descriptions/index.d.ts +2 -0
  23. package/dist/nodes/AliBailian/descriptions/index.js +31 -0
  24. package/dist/nodes/AliBailian/descriptions/index.js.map +1 -0
  25. package/dist/nodes/AliBailian/descriptions/task.d.ts +3 -0
  26. package/dist/nodes/AliBailian/descriptions/task.js +102 -0
  27. package/dist/nodes/AliBailian/descriptions/task.js.map +1 -0
  28. package/dist/nodes/AliBailian/descriptions/video.d.ts +3 -0
  29. package/dist/nodes/AliBailian/descriptions/video.js +1617 -0
  30. package/dist/nodes/AliBailian/descriptions/video.js.map +1 -0
  31. package/dist/nodes/AliBailian/helpers/client.d.ts +27 -0
  32. package/dist/nodes/AliBailian/helpers/client.js +172 -0
  33. package/dist/nodes/AliBailian/helpers/client.js.map +1 -0
  34. package/dist/nodes/AliBailian/helpers/constants.d.ts +61 -0
  35. package/dist/nodes/AliBailian/helpers/constants.js +612 -0
  36. package/dist/nodes/AliBailian/helpers/constants.js.map +1 -0
  37. package/dist/nodes/AliBailian/helpers/emoji.d.ts +18 -0
  38. package/dist/nodes/AliBailian/helpers/emoji.js +180 -0
  39. package/dist/nodes/AliBailian/helpers/emoji.js.map +1 -0
  40. package/dist/nodes/AliBailian/helpers/endpoints.d.ts +6 -0
  41. package/dist/nodes/AliBailian/helpers/endpoints.js +107 -0
  42. package/dist/nodes/AliBailian/helpers/endpoints.js.map +1 -0
  43. package/dist/nodes/AliBailian/helpers/payload.d.ts +5 -0
  44. package/dist/nodes/AliBailian/helpers/payload.js +1256 -0
  45. package/dist/nodes/AliBailian/helpers/payload.js.map +1 -0
  46. package/dist/nodes/AliBailian/helpers/types.d.ts +29 -0
  47. package/dist/nodes/AliBailian/helpers/types.js +3 -0
  48. package/dist/nodes/AliBailian/helpers/types.js.map +1 -0
  49. package/dist/nodes/AliBailian/helpers/utils.d.ts +12 -0
  50. package/dist/nodes/AliBailian/helpers/utils.js +157 -0
  51. package/dist/nodes/AliBailian/helpers/utils.js.map +1 -0
  52. package/dist/nodes/AliyunOss/AliyunOss.node.d.ts +5 -0
  53. package/dist/nodes/AliyunOss/AliyunOss.node.js +287 -0
  54. package/dist/nodes/AliyunOss/AliyunOss.node.js.map +1 -0
  55. package/dist/nodes/AliyunOss/alibailian.svg +11 -0
  56. package/dist/nodes/AliyunOss/descriptions/bucketDescription.d.ts +3 -0
  57. package/dist/nodes/AliyunOss/descriptions/bucketDescription.js +162 -0
  58. package/dist/nodes/AliyunOss/descriptions/bucketDescription.js.map +1 -0
  59. package/dist/nodes/AliyunOss/descriptions/fileDescription.d.ts +3 -0
  60. package/dist/nodes/AliyunOss/descriptions/fileDescription.js +312 -0
  61. package/dist/nodes/AliyunOss/descriptions/fileDescription.js.map +1 -0
  62. package/dist/nodes/AliyunOss/descriptions/folderDescription.d.ts +3 -0
  63. package/dist/nodes/AliyunOss/descriptions/folderDescription.js +196 -0
  64. package/dist/nodes/AliyunOss/descriptions/folderDescription.js.map +1 -0
  65. package/dist/nodes/AliyunOss/descriptions/index.d.ts +2 -0
  66. package/dist/nodes/AliyunOss/descriptions/index.js +37 -0
  67. package/dist/nodes/AliyunOss/descriptions/index.js.map +1 -0
  68. package/dist/nodes/AliyunOss/helpers/client.d.ts +15 -0
  69. package/dist/nodes/AliyunOss/helpers/client.js +50 -0
  70. package/dist/nodes/AliyunOss/helpers/client.js.map +1 -0
  71. package/dist/nodes/AliyunOss/helpers/loader.d.ts +4 -0
  72. package/dist/nodes/AliyunOss/helpers/loader.js +21 -0
  73. package/dist/nodes/AliyunOss/helpers/loader.js.map +1 -0
  74. package/dist/nodes/AliyunOss/helpers/operations.d.ts +44 -0
  75. package/dist/nodes/AliyunOss/helpers/operations.js +326 -0
  76. package/dist/nodes/AliyunOss/helpers/operations.js.map +1 -0
  77. package/dist/package.json +76 -0
  78. package/dist/tsconfig.tsbuildinfo +1 -0
  79. package/package.json +78 -0
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2022 n8n
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
20
+
package/README.md ADDED
@@ -0,0 +1,104 @@
1
+ # n8n-nodes-aliyun-bailian
2
+
3
+ This is an n8n community node that allows you to integrate Alibaba Cloud Aliyun Bailian AI capabilities and OSS functionality in your n8n workflows with dedicated credentials.
4
+
5
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
6
+
7
+ [Installation](#installation)
8
+ [Operations](#operations)
9
+ [Credentials](#credentials)
10
+ [Compatibility](#compatibility)
11
+ [Usage](#usage)
12
+ [Resources](#resources)
13
+ [Version history](#version-history)
14
+
15
+ ## Installation
16
+
17
+ Follow the [n8n community node installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) for installation instructions.
18
+
19
+ ## Operations
20
+
21
+ ### Aliyun Bailian Node
22
+
23
+ #### Video Operations
24
+
25
+ - **Text to Video** - Generate video based on text prompts (wan2.6-t2v, wan2.5-t2v-preview, wan2.2-t2v-plus, wanx2.1-t2v-turbo, wanx2.1-t2v-plus)
26
+ - **Image to Video (First Frame)** - Generate coherent video from a single keyframe image (wan2.6-i2v, wan2.5-i2v-preview, etc.)
27
+ - **Image to Video (First & Last Frames)** - Generate complete video by interpolating between first and last keyframes
28
+ - **Reference to Video** - Generate a new video with reference clips + prompt (wan2.6-r2v)
29
+ - **Video Animate Mix** - Tongyi Wanxiang Animate Mix model, allowing target portrait replacement in background videos (wan2.2-animate-mix)
30
+ - **Video Animate Move** - Tongyi Wanxiang Animate Move model, making static portraits move using driving videos (wan2.2-animate-move)
31
+ - **Emoji Video Generation** - Generate animated emoji videos based on portrait images and templates (emoji-v1)
32
+ - **Video Editing & Effects** - Apply Tongyi Wanxiang's editing capabilities to existing footage
33
+ - **VideoRetalk Lip Sync** - Use VideoRetalk to synchronize audio lip movements to target videos (videoretalk)
34
+
35
+ #### Image Operations
36
+
37
+ - **Text to Image** - Generate images from prompts (wan2.6-t2i, wan2.5-t2i-preview, etc.)
38
+ - **Image to Image (Wan)** - Transform images with Wan image editing (wan2.5-i2i-preview, wanx2.1-imageedit)
39
+ - **Wan 2.6 Image Generation & Edit** - Use wan2.6-image for both text-only generation and image+text editing; optional interleaved output (wan2.6-image)
40
+
41
+ #### Audio Operations
42
+
43
+ - **Text to Speech (Qwen TTS)** - Convert text content into synthesized speech audio, supporting multiple voices and languages
44
+ - **Fun-ASR Recorded Speech Recognition** - Speech to text transcription
45
+
46
+ #### Task Operations
47
+
48
+ - **Task Status Query** - Query the current status of a specified task ID, with support for polling until task completion
49
+
50
+ ### Aliyun OSS Node
51
+
52
+ #### Bucket Management
53
+
54
+ - Create Bucket
55
+ - Delete Bucket
56
+ - List all Buckets
57
+
58
+ #### Folder Management
59
+
60
+ - Create Folder
61
+ - Delete Folder
62
+ - List Folders
63
+
64
+ #### File Management
65
+
66
+ - Upload File
67
+ - Download File
68
+ - Delete File
69
+ - Copy File
70
+ - List Files
71
+
72
+ ## Credentials
73
+
74
+ To use nodes in this package, configure the following credential types in n8n:
75
+
76
+ - **Aliyun Bailian API**: Provide the Bearer Token generated from the Bailian console. Register an Alibaba Cloud account, enable the Bailian service, and then select this credential type in n8n.
77
+ - **Aliyun OSS API**: Provide OSS AccessKeyId, AccessKeySecret (optional STS token), Endpoint or Region, default Bucket, and optional custom domain for OSS nodes.
78
+
79
+ ## Compatibility
80
+
81
+ - Minimum compatible n8n version: 1.20.0
82
+ - Recommended to use the latest version of n8n for testing and development
83
+ - Manually tested on n8n versions 1.20.x ~ 1.24.x
84
+
85
+ ## Usage
86
+
87
+ 1. Add the "AliBailian Video" node to your n8n workflow.
88
+ 2. Configure the required API credentials separately.
89
+ 3. Select resource type (Task or Video) and operation.
90
+ 4. Fill in necessary parameters; request body can be extended via advanced options.
91
+ 5. Enable task polling if asynchronous task results are needed.
92
+
93
+ For more n8n getting started information, please refer to the [Try it out](https://docs.n8n.io/try-it-out/) documentation.
94
+
95
+ ## Resources
96
+
97
+ - [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
98
+ - [Alibaba Cloud official documentation](https://help.aliyun.com/)
99
+
100
+ ## Version History
101
+
102
+ - v0.1.0 Initial release: supports text/image to video, video editing, and task polling.
103
+ - v0.2.0 Added Aliyun OSS node with Bucket, folder, and file management features.
104
+ - v0.3.0 Added Fun-ASR recorded speech recognition capability and preserved input binary data in OSS operations.
@@ -0,0 +1,7 @@
1
+ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class AliBailianApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AliBailianApi = void 0;
4
+ class AliBailianApi {
5
+ constructor() {
6
+ this.name = 'aliBailianApi';
7
+ this.displayName = 'Aliyun Bailian API';
8
+ this.documentationUrl = 'https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=2865250';
9
+ this.properties = [
10
+ {
11
+ displayName: 'API Key',
12
+ name: 'apiKey',
13
+ type: 'string',
14
+ typeOptions: { password: true },
15
+ default: '',
16
+ required: true,
17
+ placeholder: 'sk-xxxxxx',
18
+ description: 'Bearer token generated from the AliBailian console.',
19
+ },
20
+ {
21
+ displayName: 'Base URL',
22
+ name: 'baseUrl',
23
+ type: 'string',
24
+ default: 'https://dashscope.aliyuncs.com/api/v1',
25
+ description: 'Optional override when using a custom gateway or region.',
26
+ },
27
+ {
28
+ displayName: 'Timeout (ms)',
29
+ name: 'timeout',
30
+ type: 'number',
31
+ default: 30000,
32
+ description: 'Request timeout in milliseconds (defaults to 30s).',
33
+ },
34
+ ];
35
+ }
36
+ }
37
+ exports.AliBailianApi = AliBailianApi;
38
+ //# sourceMappingURL=AliBailianApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AliBailianApi.credentials.js","sourceRoot":"","sources":["../../credentials/AliBailianApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QAEvB,gBAAW,GAAG,oBAAoB,CAAC;QAEnC,qBAAgB,GAAG,0EAA0E,CAAC;QAE9F,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,WAAW;gBACxB,WAAW,EAAE,qDAAqD;aAClE;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uCAAuC;gBAChD,WAAW,EAAE,0DAA0D;aACvE;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,oDAAoD;aACjE;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,sCAiCC"}
@@ -0,0 +1,7 @@
1
+ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class AliyunOssApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AliyunOssApi = void 0;
4
+ class AliyunOssApi {
5
+ constructor() {
6
+ this.name = 'aliyunOssApi';
7
+ this.displayName = 'Aliyun OSS API';
8
+ this.documentationUrl = 'https://www.alibabacloud.com/help/en/object-storage-service/latest/getting-started';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Access Key ID',
12
+ name: 'ossAccessKeyId',
13
+ type: 'string',
14
+ default: '',
15
+ required: true,
16
+ description: 'OSS AccessKeyId for Aliyun operations. | 阿里云 OSS AccessKeyId。',
17
+ },
18
+ {
19
+ displayName: 'Access Key Secret',
20
+ name: 'ossAccessKeySecret',
21
+ type: 'string',
22
+ typeOptions: { password: true },
23
+ default: '',
24
+ required: true,
25
+ description: 'OSS AccessKeySecret for Aliyun operations. | 阿里云 OSS AccessKeySecret。',
26
+ },
27
+ {
28
+ displayName: 'Security Token',
29
+ name: 'ossSecurityToken',
30
+ type: 'string',
31
+ typeOptions: { password: true },
32
+ default: '',
33
+ description: 'Optional STS token if temporary credentials are used. | 可选 STS Token(若使用临时凭据)。',
34
+ },
35
+ {
36
+ displayName: 'Endpoint',
37
+ name: 'ossEndpoint',
38
+ type: 'string',
39
+ default: '',
40
+ description: 'Custom OSS Endpoint (e.g. https://oss-cn-hangzhou.aliyuncs.com). | 自定义 OSS Endpoint(例如 https://oss-cn-hangzhou.aliyuncs.com)。',
41
+ },
42
+ {
43
+ displayName: 'Region',
44
+ name: 'ossRegion',
45
+ type: 'string',
46
+ default: '',
47
+ description: 'If not set, Region is required (e.g. oss-cn-shanghai). | 若未设置 Endpoint,则需提供 Region(例如 oss-cn-shanghai)。',
48
+ },
49
+ {
50
+ displayName: 'Default Bucket',
51
+ name: 'ossBucket',
52
+ type: 'string',
53
+ default: '',
54
+ description: 'Default OSS Bucket name to use, can be overridden in nodes. | 默认使用的 OSS Bucket 名称,可在节点中覆盖。',
55
+ },
56
+ {
57
+ displayName: 'Use Custom Domain | 使用自定义域名',
58
+ name: 'ossUseCustomDomain',
59
+ type: 'boolean',
60
+ default: false,
61
+ description: 'Whether to replace the default OSS endpoint with a custom domain when generating object URLs. | 是否使用自定义域名替换默认 OSS 域名。',
62
+ },
63
+ {
64
+ displayName: 'Custom Domain | 自定义域名',
65
+ name: 'ossCustomDomain',
66
+ type: 'string',
67
+ default: '',
68
+ placeholder: 'https://assets.example.com',
69
+ description: 'Custom domain bound to the bucket (including protocol), e.g. https://assets.example.com. | 绑定到 Bucket 的自定义域名(需包含协议,如 https://assets.example.com)。',
70
+ displayOptions: {
71
+ show: {
72
+ ossUseCustomDomain: [true],
73
+ },
74
+ },
75
+ },
76
+ {
77
+ displayName: 'Timeout (ms)',
78
+ name: 'ossTimeout',
79
+ type: 'number',
80
+ default: 60000,
81
+ description: 'Timeout for OSS requests in milliseconds. | OSS 请求超时时间(毫秒)。',
82
+ },
83
+ ];
84
+ }
85
+ }
86
+ exports.AliyunOssApi = AliyunOssApi;
87
+ //# sourceMappingURL=AliyunOssApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AliyunOssApi.credentials.js","sourceRoot":"","sources":["../../credentials/AliyunOssApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,gBAAgB,CAAC;QAE/B,qBAAgB,GAAG,oFAAoF,CAAC;QAExG,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,+DAA+D;aAC5E;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,oBAAoB;gBAC1B,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,uEAAuE;aACpF;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gFAAgF;aAC7F;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,+HAA+H;aAChI;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yGAAyG;aACtH;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4FAA4F;aACzG;YACD;gBACC,WAAW,EAAE,6BAA6B;gBAC1C,IAAI,EAAE,oBAAoB;gBAC1B,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EACV,uHAAuH;aACxH;YACD;gBACC,WAAW,EAAE,uBAAuB;gBACpC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4BAA4B;gBACzC,WAAW,EACV,mJAAmJ;gBACpJ,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,kBAAkB,EAAE,CAAC,IAAI,CAAC;qBAC1B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,6DAA6D;aAC1E;SACD,CAAC;IACH,CAAC;CAAA;AArFD,oCAqFC"}
@@ -0,0 +1,5 @@
1
+ import { AliBailianApi } from './credentials/AliBailianApi.credentials';
2
+ import { AliyunOssApi } from './credentials/AliyunOssApi.credentials';
3
+ import { AliBailian } from './nodes/AliBailian/AliBailian.node';
4
+ import { AliyunOss } from './nodes/AliyunOss/AliyunOss.node';
5
+ export { AliBailian, AliyunOss, AliBailianApi, AliyunOssApi };
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AliyunOssApi = exports.AliBailianApi = exports.AliyunOss = exports.AliBailian = void 0;
4
+ const AliBailianApi_credentials_1 = require("./credentials/AliBailianApi.credentials");
5
+ Object.defineProperty(exports, "AliBailianApi", { enumerable: true, get: function () { return AliBailianApi_credentials_1.AliBailianApi; } });
6
+ const AliyunOssApi_credentials_1 = require("./credentials/AliyunOssApi.credentials");
7
+ Object.defineProperty(exports, "AliyunOssApi", { enumerable: true, get: function () { return AliyunOssApi_credentials_1.AliyunOssApi; } });
8
+ const AliBailian_node_1 = require("./nodes/AliBailian/AliBailian.node");
9
+ Object.defineProperty(exports, "AliBailian", { enumerable: true, get: function () { return AliBailian_node_1.AliBailian; } });
10
+ const AliyunOss_node_1 = require("./nodes/AliyunOss/AliyunOss.node");
11
+ Object.defineProperty(exports, "AliyunOss", { enumerable: true, get: function () { return AliyunOss_node_1.AliyunOss; } });
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,uFAAwE;AAKxC,8FALvB,yCAAa,OAKuB;AAJ7C,qFAAsE;AAIvB,6FAJtC,uCAAY,OAIsC;AAH3D,wEAAgE;AAGvD,2FAHA,4BAAU,OAGA;AAFnB,qEAA6D;AAExC,0FAFZ,0BAAS,OAEY"}
@@ -0,0 +1,39 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, ILoadOptionsFunctions, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class AliBailian implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ loadOptions: {
6
+ getTextToVideoSizes(this: ILoadOptionsFunctions): Promise<{
7
+ name: string;
8
+ value: string;
9
+ }[]>;
10
+ getReferenceToVideoSizes(this: ILoadOptionsFunctions): Promise<{
11
+ name: string;
12
+ value: string;
13
+ }[]>;
14
+ getFirstFrameResolutions(this: ILoadOptionsFunctions): Promise<{
15
+ name: string;
16
+ value: string;
17
+ }[]>;
18
+ getFirstFrameDurations(this: ILoadOptionsFunctions): Promise<{
19
+ name: string;
20
+ value: number;
21
+ }[]>;
22
+ getTextToImageSizes(this: ILoadOptionsFunctions): Promise<{
23
+ name: string;
24
+ value: string;
25
+ }[]>;
26
+ getTtsVoices(this: ILoadOptionsFunctions): Promise<{
27
+ name: string;
28
+ value: string;
29
+ description: string | undefined;
30
+ }[]>;
31
+ getTtsLanguages(this: ILoadOptionsFunctions): Promise<{
32
+ name: string;
33
+ value: string;
34
+ description: string | undefined;
35
+ }[]>;
36
+ };
37
+ };
38
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
39
+ }