n8n-nodes-cloudinary 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Cloudinary
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ ---
2
+ #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
3
+ title: Cloudinary node documentation
4
+ description: Learn how to use the Cloudinary node in n8n. Follow technical documentation to integrate Cloudinary node into your workflows.
5
+ contentType: [integration, reference]
6
+ ---
7
+
8
+ # Cloudinary node
9
+
10
+ Use the Cloudinary node to automate work in Cloudinary, and integrate Cloudinary with other applications. n8n has built-in support for a wide range of Cloudinary features, including uploading assets, managing tags, and updating metadata.
11
+
12
+ On this page, you'll find a list of operations the Cloudinary node supports.
13
+
14
+ ## Operations
15
+
16
+ * Asset
17
+ * Upload from URL/file
18
+ * Update asset tags
19
+ * Update asset metadata fields
20
+ * Get tags
21
+ * Get structured metadata definitions
22
+
23
+ ## Supported authentication methods
24
+
25
+ - API key & API secret
26
+
27
+ ## Authentication
28
+ ### Using API key
29
+
30
+ To configure this credential, you'll need a [Cloudinary Account](https://cloudinary.com/users/register_free) and:
31
+
32
+ - A **Cloud name**
33
+ - An **API Key**
34
+ - An **API Secret**
35
+
36
+ If you're a user with a Master admin, Admin, or Technical admin role, you can find your API keys and other credentials on the API Keys page of the Cloudinary Console Settings:
37
+
38
+ 1. Navigate to the API Keys pages in the [settings page](https://console.cloudinary.com/settings/api-keys).
39
+ 2. Click on **+ Generate New API Key**.
40
+ 3. Copy the API Key and API Secret.
41
+ 4. From the top of the page copy the **Cloud name**.
42
+ 5. Enter the cloud name, api key and api secret to your n8n credential.
43
+
44
+
45
+ ## Related resources
46
+
47
+ Refer to [Cloudinary's documentation](https://cloudinary.com/documentation/programmable_media_guides) for more information on this service.
48
+
@@ -0,0 +1,9 @@
1
+ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class CloudinaryApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudinaryApi = void 0;
4
+ class CloudinaryApi {
5
+ constructor() {
6
+ this.name = 'cloudinaryApi';
7
+ this.displayName = 'Cloudinary API';
8
+ this.documentationUrl = 'https://cloudinary.com/documentation/image_upload_api_reference';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Cloud Name',
12
+ name: 'cloudName',
13
+ type: 'string',
14
+ default: '',
15
+ },
16
+ {
17
+ displayName: 'API Key',
18
+ name: 'apiKey',
19
+ type: 'string',
20
+ typeOptions: { password: true },
21
+ default: '',
22
+ },
23
+ {
24
+ displayName: 'API Secret',
25
+ name: 'apiSecret',
26
+ type: 'string',
27
+ default: '',
28
+ typeOptions: { password: true },
29
+ },
30
+ ];
31
+ this.authenticate = {
32
+ type: 'generic',
33
+ properties: {
34
+ auth: {
35
+ username: '={{$credentials.apiKey}}',
36
+ password: '={{$credentials.apiSecret}}',
37
+ },
38
+ },
39
+ };
40
+ this.test = {
41
+ request: {
42
+ baseURL: '=https://api.cloudinary.com/v1_1/{{$credentials?.cloudName}}',
43
+ url: '/ping',
44
+ },
45
+ };
46
+ }
47
+ }
48
+ exports.CloudinaryApi = CloudinaryApi;
49
+ //# sourceMappingURL=CloudinaryApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudinaryApi.credentials.js","sourceRoot":"","sources":["../../credentials/CloudinaryApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,gBAAgB,CAAC;QAC/B,qBAAgB,GAAG,iEAAiE,CAAC;QACrF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;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;aACX;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;aAC/B;SACD,CAAC;QAGF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,IAAI,EAAE;oBACL,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,6BAA6B;iBACvC;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,8DAA8D;gBACvE,GAAG,EAAE,OAAO;aACZ;SACD,CAAC;IACH,CAAC;CAAA;AA7CD,sCA6CC"}
@@ -0,0 +1,5 @@
1
+ import { INodeType, INodeTypeDescription, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare class Cloudinary implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }