@affeldt28/n8n-nodes-ninjaone 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -3
- package/dist/nodes/ninjaone/descriptions/organization/Organization.resource.js +57 -47
- package/dist/nodes/ninjaone/descriptions/organization/Organization.resource.js.map +1 -1
- package/dist/nodes/ninjaone/descriptions/organization/create.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/create.operation.js +152 -0
- package/dist/nodes/ninjaone/descriptions/organization/create.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/createLocation.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/createLocation.operation.js +105 -0
- package/dist/nodes/ninjaone/descriptions/organization/createLocation.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/generateInstaller.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/generateInstaller.operation.js +133 -0
- package/dist/nodes/ninjaone/descriptions/organization/generateInstaller.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/get.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/get.operation.js +44 -0
- package/dist/nodes/ninjaone/descriptions/organization/get.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getAll.operation.d.ts +4 -3
- package/dist/nodes/ninjaone/descriptions/organization/getAll.operation.js +14 -2
- package/dist/nodes/ninjaone/descriptions/organization/getAll.operation.js.map +1 -1
- package/dist/nodes/ninjaone/descriptions/organization/getAllDetailed.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getAllDetailed.operation.js +51 -0
- package/dist/nodes/ninjaone/descriptions/organization/getAllDetailed.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getCustomFields.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getCustomFields.operation.js +44 -0
- package/dist/nodes/ninjaone/descriptions/organization/getCustomFields.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getDevices.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getDevices.operation.js +79 -0
- package/dist/nodes/ninjaone/descriptions/organization/getDevices.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getEndUsers.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getEndUsers.operation.js +66 -0
- package/dist/nodes/ninjaone/descriptions/organization/getEndUsers.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationBackupUsage.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationBackupUsage.operation.js +61 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationBackupUsage.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationCustomFields.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationCustomFields.operation.js +83 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationCustomFields.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationInstaller.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationInstaller.operation.js +111 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationInstaller.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocations.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocations.operation.js +44 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocations.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationsBackupUsage.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationsBackupUsage.operation.js +44 -0
- package/dist/nodes/ninjaone/descriptions/organization/getLocationsBackupUsage.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/update.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/update.operation.js +119 -0
- package/dist/nodes/ninjaone/descriptions/organization/update.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateCustomFields.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateCustomFields.operation.js +53 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateCustomFields.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateLocation.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateLocation.operation.js +122 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateLocation.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateLocationCustomFields.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateLocationCustomFields.operation.js +70 -0
- package/dist/nodes/ninjaone/descriptions/organization/updateLocationCustomFields.operation.js.map +1 -0
- package/dist/nodes/ninjaone/descriptions/organization/updatePolicies.operation.d.ts +30 -0
- package/dist/nodes/ninjaone/descriptions/organization/updatePolicies.operation.js +53 -0
- package/dist/nodes/ninjaone/descriptions/organization/updatePolicies.operation.js.map +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This is an n8n community node. It lets you use NinjaOne in your n8n workflows.
|
|
4
4
|
|
|
5
|
+
This implementation is based off [NinjaOne Public API 2.0 documentation](https://app.ninjarmm.com/apidocs/?links.active=core), specification version **`2.0.9-draft`**, in **OpenAPI 3 (OAS3)** format.
|
|
6
|
+
|
|
5
7
|
NinjaOne is a cloud-based IT management platform that provides remote monitoring and management (RMM) capabilities for IT professionals. It allows users to monitor, manage, and support their IT infrastructure and endpoints remotely.
|
|
6
8
|
|
|
7
9
|
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
@@ -23,9 +25,33 @@ This node currently supports the following NinjaOne resources and operations:
|
|
|
23
25
|
|
|
24
26
|
### Organization
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
|
28
|
+
All endpoints in the core Organization section are supported, together with organization and location management endpoints. Organization Documents and Organization Checklists are separate resources and are not included.
|
|
29
|
+
|
|
30
|
+
| Operation | API | Implemented |
|
|
31
|
+
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
32
|
+
| Create | [POST /v2/organizations](https://app.ninjarmm.com/apidocs/?links.active=core#/management/createOrganization) | ✅ |
|
|
33
|
+
| Create Location | [POST /v2/organization/{id}/locations](https://app.ninjarmm.com/apidocs/?links.active=core#/management/createLocationForOrganization) | ✅ |
|
|
34
|
+
| Generate Installer | [POST /v2/organization/generate-installer](https://app.ninjarmm.com/apidocs/?links.active=core#/management/getInstaller) | ✅ |
|
|
35
|
+
| Get | [GET /v2/organization/{id}](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getOrganization) | ✅ |
|
|
36
|
+
| Get Custom Fields | [GET /v2/organization/{id}/custom-fields](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getNodeCustomFields_1) | ✅ |
|
|
37
|
+
| Get Devices | [GET /v2/organization/{id}/devices](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getOrganizationDevices) | ✅ |
|
|
38
|
+
| Get End Users | [GET /v2/organization/{id}/end-users](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getEndUsers) | ✅ |
|
|
39
|
+
| Get Location Backup Usage | [GET /v2/organization/{id}/locations/{locationId}/backup/usage](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getLocationUsage) | ✅ |
|
|
40
|
+
| Get Location Custom Fields | [GET /v2/organization/{id}/location/{locationId}/custom-fields](https://app.ninjarmm.com/apidocs/?links.active=core#/Location/getNodeCustomFields_2) | ✅ |
|
|
41
|
+
| Get Location Installer | [GET /v2/organization/{id}/location/{location_id}/installer/{installer_type}](https://app.ninjarmm.com/apidocs/?links.active=core#/management/getInstallerForLocation) | ✅ |
|
|
42
|
+
| Get Locations | [GET /v2/organization/{id}/locations](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getOrganizationLocations) | ✅ |
|
|
43
|
+
| Get Locations Backup Usage | [GET /v2/organization/{id}/locations/backup/usage](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/getOrganizationLocationUsage) | ✅ |
|
|
44
|
+
| Get Many | [GET /v2/organizations](https://app.ninjarmm.com/apidocs/?links.active=core#/system/getOrganizations) | ✅ |
|
|
45
|
+
| Get Many Detailed | [GET /v2/organizations-detailed](https://app.ninjarmm.com/apidocs/?links.active=core#/system/getOrganizationsDetailed) | ✅ |
|
|
46
|
+
| Update | [PATCH /v2/organization/{id}](https://app.ninjarmm.com/apidocs/?links.active=core#/management/updateOrganization) | ✅ |
|
|
47
|
+
| Update Custom Fields | [PATCH /v2/organization/{id}/custom-fields](https://app.ninjarmm.com/apidocs/?links.active=core#/organization/updateNodeAttributeValues_1) | ✅ |
|
|
48
|
+
| Update Location | [PATCH /v2/organization/{id}/locations/{locationId}](https://app.ninjarmm.com/apidocs/?links.active=core#/management/updateLocation) | ✅ |
|
|
49
|
+
| Update Location Custom Fields | [PATCH /v2/organization/{id}/location/{locationId}/custom-fields](https://app.ninjarmm.com/apidocs/?links.active=core#/Location/updateNodeAttributeValues_2) | ✅ |
|
|
50
|
+
| Update Policies | [PUT /v2/organization/{id}/policies](https://app.ninjarmm.com/apidocs/?links.active=core#/management/updateNodeRolePolicyAssignmentForOrganization) | ✅ |
|
|
51
|
+
|
|
52
|
+
List operations expose the API’s page size and after cursor where supported; each execution returns one page. Use the last returned ID as **After** to retrieve the next page. Create and update operations support all documented writable fields. Structured fields (locations, policy mappings, user data, installer content, and custom field values) accept JSON, including object/array expressions. Optional update fields are sent only when added, so omitted fields remain untouched. Policy updates accept an array such as `[{"nodeRoleId": 1, "policyId": 2}]`; custom field updates accept an object such as `{"customFieldNameText": "Sample Text"}`.
|
|
53
|
+
|
|
54
|
+
Write operations require the appropriate NinjaOne API permissions and management scope. Installer operations return the API’s installer metadata/URL.
|
|
29
55
|
|
|
30
56
|
### Device
|
|
31
57
|
|
|
@@ -1,40 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
3
|
exports.description = void 0;
|
|
37
|
-
const
|
|
4
|
+
const create_operation_1 = require("./create.operation");
|
|
5
|
+
const createLocation_operation_1 = require("./createLocation.operation");
|
|
6
|
+
const generateInstaller_operation_1 = require("./generateInstaller.operation");
|
|
7
|
+
const get_operation_1 = require("./get.operation");
|
|
8
|
+
const getAll_operation_1 = require("./getAll.operation");
|
|
9
|
+
const getAllDetailed_operation_1 = require("./getAllDetailed.operation");
|
|
10
|
+
const getCustomFields_operation_1 = require("./getCustomFields.operation");
|
|
11
|
+
const getDevices_operation_1 = require("./getDevices.operation");
|
|
12
|
+
const getEndUsers_operation_1 = require("./getEndUsers.operation");
|
|
13
|
+
const getLocationBackupUsage_operation_1 = require("./getLocationBackupUsage.operation");
|
|
14
|
+
const getLocationCustomFields_operation_1 = require("./getLocationCustomFields.operation");
|
|
15
|
+
const getLocationInstaller_operation_1 = require("./getLocationInstaller.operation");
|
|
16
|
+
const getLocations_operation_1 = require("./getLocations.operation");
|
|
17
|
+
const getLocationsBackupUsage_operation_1 = require("./getLocationsBackupUsage.operation");
|
|
18
|
+
const update_operation_1 = require("./update.operation");
|
|
19
|
+
const updateCustomFields_operation_1 = require("./updateCustomFields.operation");
|
|
20
|
+
const updateLocation_operation_1 = require("./updateLocation.operation");
|
|
21
|
+
const updateLocationCustomFields_operation_1 = require("./updateLocationCustomFields.operation");
|
|
22
|
+
const updatePolicies_operation_1 = require("./updatePolicies.operation");
|
|
38
23
|
exports.description = [
|
|
39
24
|
{
|
|
40
25
|
displayName: 'Operation',
|
|
@@ -48,20 +33,45 @@ exports.description = [
|
|
|
48
33
|
},
|
|
49
34
|
},
|
|
50
35
|
options: [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
36
|
+
create_operation_1.createOption,
|
|
37
|
+
createLocation_operation_1.createLocationOption,
|
|
38
|
+
generateInstaller_operation_1.generateInstallerOption,
|
|
39
|
+
get_operation_1.getOption,
|
|
40
|
+
getCustomFields_operation_1.getCustomFieldsOption,
|
|
41
|
+
getDevices_operation_1.getDevicesOption,
|
|
42
|
+
getEndUsers_operation_1.getEndUsersOption,
|
|
43
|
+
getLocationBackupUsage_operation_1.getLocationBackupUsageOption,
|
|
44
|
+
getLocationCustomFields_operation_1.getLocationCustomFieldsOption,
|
|
45
|
+
getLocationInstaller_operation_1.getLocationInstallerOption,
|
|
46
|
+
getLocations_operation_1.getLocationsOption,
|
|
47
|
+
getLocationsBackupUsage_operation_1.getLocationsBackupUsageOption,
|
|
48
|
+
getAll_operation_1.getAllOption,
|
|
49
|
+
getAllDetailed_operation_1.getAllDetailedOption,
|
|
50
|
+
update_operation_1.updateOption,
|
|
51
|
+
updateCustomFields_operation_1.updateCustomFieldsOption,
|
|
52
|
+
updateLocation_operation_1.updateLocationOption,
|
|
53
|
+
updateLocationCustomFields_operation_1.updateLocationCustomFieldsOption,
|
|
54
|
+
updatePolicies_operation_1.updatePoliciesOption,
|
|
63
55
|
],
|
|
64
56
|
},
|
|
65
|
-
...
|
|
57
|
+
...create_operation_1.createDescription,
|
|
58
|
+
...createLocation_operation_1.createLocationDescription,
|
|
59
|
+
...generateInstaller_operation_1.generateInstallerDescription,
|
|
60
|
+
...get_operation_1.getDescription,
|
|
61
|
+
...getCustomFields_operation_1.getCustomFieldsDescription,
|
|
62
|
+
...getDevices_operation_1.getDevicesDescription,
|
|
63
|
+
...getEndUsers_operation_1.getEndUsersDescription,
|
|
64
|
+
...getLocationBackupUsage_operation_1.getLocationBackupUsageDescription,
|
|
65
|
+
...getLocationCustomFields_operation_1.getLocationCustomFieldsDescription,
|
|
66
|
+
...getLocationInstaller_operation_1.getLocationInstallerDescription,
|
|
67
|
+
...getLocations_operation_1.getLocationsDescription,
|
|
68
|
+
...getLocationsBackupUsage_operation_1.getLocationsBackupUsageDescription,
|
|
69
|
+
...getAll_operation_1.getAllDescription,
|
|
70
|
+
...getAllDetailed_operation_1.getAllDetailedDescription,
|
|
71
|
+
...update_operation_1.updateDescription,
|
|
72
|
+
...updateCustomFields_operation_1.updateCustomFieldsDescription,
|
|
73
|
+
...updateLocation_operation_1.updateLocationDescription,
|
|
74
|
+
...updateLocationCustomFields_operation_1.updateLocationCustomFieldsDescription,
|
|
75
|
+
...updatePolicies_operation_1.updatePoliciesDescription,
|
|
66
76
|
];
|
|
67
77
|
//# sourceMappingURL=Organization.resource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organization.resource.js","sourceRoot":"","sources":["../../../../../nodes/ninjaone/descriptions/organization/Organization.resource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Organization.resource.js","sourceRoot":"","sources":["../../../../../nodes/ninjaone/descriptions/organization/Organization.resource.ts"],"names":[],"mappings":";;;AACA,yDAAqE;AACrE,yEAA6F;AAC7F,+EAGuC;AACvC,mDAA4D;AAC5D,yDAAqE;AACrE,yEAA6F;AAC7F,2EAAgG;AAChG,iEAAiF;AACjF,mEAAoF;AACpF,yFAG4C;AAC5C,2FAG6C;AAC7C,qFAG0C;AAC1C,qEAAuF;AACvF,2FAG6C;AAC7C,yDAAqE;AACrE,iFAGwC;AACxC,yEAA6F;AAC7F,iGAGgD;AAChD,yEAA6F;AAEhF,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,QAAQ;QACjB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,cAAc,CAAC;aAC1B;SACD;QACD,OAAO,EAAE;YACR,+BAAY;YACZ,+CAAoB;YACpB,qDAAuB;YACvB,yBAAS;YACT,iDAAqB;YACrB,uCAAgB;YAChB,yCAAiB;YACjB,+DAA4B;YAC5B,iEAA6B;YAC7B,2DAA0B;YAC1B,2CAAkB;YAClB,iEAA6B;YAC7B,+BAAY;YACZ,+CAAoB;YACpB,+BAAY;YACZ,uDAAwB;YACxB,+CAAoB;YACpB,uEAAgC;YAChC,+CAAoB;SACpB;KACD;IACD,GAAG,oCAAiB;IACpB,GAAG,oDAAyB;IAC5B,GAAG,0DAA4B;IAC/B,GAAG,8BAAc;IACjB,GAAG,sDAA0B;IAC7B,GAAG,4CAAqB;IACxB,GAAG,8CAAsB;IACzB,GAAG,oEAAiC;IACpC,GAAG,sEAAkC;IACrC,GAAG,gEAA+B;IAClC,GAAG,gDAAuB;IAC1B,GAAG,sEAAkC;IACrC,GAAG,oCAAiB;IACpB,GAAG,oDAAyB;IAC5B,GAAG,oCAAiB;IACpB,GAAG,4DAA6B;IAChC,GAAG,oDAAyB;IAC5B,GAAG,4EAAqC;IACxC,GAAG,oDAAyB;CAC5B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
|
|
2
|
+
export declare const createOption: INodePropertyOptions;
|
|
3
|
+
export declare const createDescription: {
|
|
4
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
5
|
+
displayName: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
8
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
9
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
10
|
+
description?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
13
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
14
|
+
envFeatureFlag?: Uppercase<string>;
|
|
15
|
+
options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
isNodeSetting?: boolean;
|
|
18
|
+
noDataExpression?: boolean;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
21
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
22
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
23
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
24
|
+
requiresDataPath?: "single" | "multiple";
|
|
25
|
+
doNotInherit?: boolean;
|
|
26
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
27
|
+
ignoreValidationDuringExecution?: boolean;
|
|
28
|
+
allowArbitraryValues?: boolean;
|
|
29
|
+
resolvableField?: boolean;
|
|
30
|
+
}[];
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createDescription = exports.createOption = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
exports.createOption = {
|
|
6
|
+
name: 'Create',
|
|
7
|
+
value: 'create',
|
|
8
|
+
description: 'Create an organization',
|
|
9
|
+
action: 'Create an organization',
|
|
10
|
+
routing: {
|
|
11
|
+
request: {
|
|
12
|
+
method: 'POST',
|
|
13
|
+
url: '/v2/organizations',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
const properties = [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Name',
|
|
20
|
+
name: 'name',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
description: 'Organization full name',
|
|
24
|
+
required: true,
|
|
25
|
+
routing: {
|
|
26
|
+
send: {
|
|
27
|
+
type: 'body',
|
|
28
|
+
property: 'name',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Additional Fields',
|
|
34
|
+
name: 'fields',
|
|
35
|
+
type: 'collection',
|
|
36
|
+
default: {},
|
|
37
|
+
placeholder: 'Add Field',
|
|
38
|
+
options: [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Description',
|
|
41
|
+
name: 'description',
|
|
42
|
+
type: 'string',
|
|
43
|
+
default: '',
|
|
44
|
+
description: 'Organization Description',
|
|
45
|
+
routing: {
|
|
46
|
+
send: {
|
|
47
|
+
type: 'body',
|
|
48
|
+
property: 'description',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Device Approval Mode',
|
|
54
|
+
name: 'nodeApprovalMode',
|
|
55
|
+
type: 'options',
|
|
56
|
+
default: 'AUTOMATIC',
|
|
57
|
+
options: [
|
|
58
|
+
{
|
|
59
|
+
name: 'Automatic',
|
|
60
|
+
value: 'AUTOMATIC',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'Manual',
|
|
64
|
+
value: 'MANUAL',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Reject',
|
|
68
|
+
value: 'REJECT',
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
routing: {
|
|
72
|
+
send: {
|
|
73
|
+
type: 'body',
|
|
74
|
+
property: 'nodeApprovalMode',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Locations (JSON)',
|
|
80
|
+
name: 'locations',
|
|
81
|
+
type: 'json',
|
|
82
|
+
default: '[]',
|
|
83
|
+
description: 'List of locations',
|
|
84
|
+
routing: {
|
|
85
|
+
send: {
|
|
86
|
+
type: 'body',
|
|
87
|
+
property: 'locations',
|
|
88
|
+
value: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
displayName: 'Policies (JSON)',
|
|
94
|
+
name: 'policies',
|
|
95
|
+
type: 'json',
|
|
96
|
+
default: '[]',
|
|
97
|
+
description: 'Node role policy assignments',
|
|
98
|
+
routing: {
|
|
99
|
+
send: {
|
|
100
|
+
type: 'body',
|
|
101
|
+
property: 'policies',
|
|
102
|
+
value: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: 'User Data (JSON)',
|
|
108
|
+
name: 'userData',
|
|
109
|
+
type: 'json',
|
|
110
|
+
default: '{}',
|
|
111
|
+
description: 'Custom attributes',
|
|
112
|
+
routing: {
|
|
113
|
+
send: {
|
|
114
|
+
type: 'body',
|
|
115
|
+
property: 'userData',
|
|
116
|
+
value: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
displayName: 'Options',
|
|
124
|
+
name: 'options',
|
|
125
|
+
type: 'collection',
|
|
126
|
+
default: {},
|
|
127
|
+
placeholder: 'Add Option',
|
|
128
|
+
options: [
|
|
129
|
+
{
|
|
130
|
+
displayName: 'Template Organization ID',
|
|
131
|
+
name: 'templateOrganizationId',
|
|
132
|
+
type: 'number',
|
|
133
|
+
default: 0,
|
|
134
|
+
description: 'Model/Template organization to copy settings from',
|
|
135
|
+
routing: {
|
|
136
|
+
send: {
|
|
137
|
+
type: 'query',
|
|
138
|
+
property: 'templateOrganizationId',
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
];
|
|
145
|
+
const displayOptions = {
|
|
146
|
+
show: {
|
|
147
|
+
resource: ['organization'],
|
|
148
|
+
operation: ['create'],
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
exports.createDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
152
|
+
//# sourceMappingURL=create.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/ninjaone/descriptions/organization/create.operation.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
|
|
2
|
+
export declare const createLocationOption: INodePropertyOptions;
|
|
3
|
+
export declare const createLocationDescription: {
|
|
4
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
5
|
+
displayName: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
8
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
9
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
10
|
+
description?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
13
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
14
|
+
envFeatureFlag?: Uppercase<string>;
|
|
15
|
+
options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
isNodeSetting?: boolean;
|
|
18
|
+
noDataExpression?: boolean;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
21
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
22
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
23
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
24
|
+
requiresDataPath?: "single" | "multiple";
|
|
25
|
+
doNotInherit?: boolean;
|
|
26
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
27
|
+
ignoreValidationDuringExecution?: boolean;
|
|
28
|
+
allowArbitraryValues?: boolean;
|
|
29
|
+
resolvableField?: boolean;
|
|
30
|
+
}[];
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createLocationDescription = exports.createLocationOption = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
exports.createLocationOption = {
|
|
6
|
+
name: 'Create Location',
|
|
7
|
+
value: 'createLocation',
|
|
8
|
+
description: 'Create an organization location',
|
|
9
|
+
action: 'Create an organization location',
|
|
10
|
+
routing: {
|
|
11
|
+
request: {
|
|
12
|
+
method: 'POST',
|
|
13
|
+
url: '=/v2/organization/{{ encodeURIComponent($parameter["organizationId"].value) }}/locations',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
const properties = [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Organization ID',
|
|
20
|
+
name: 'organizationId',
|
|
21
|
+
type: 'resourceLocator',
|
|
22
|
+
default: {
|
|
23
|
+
mode: 'id',
|
|
24
|
+
value: '',
|
|
25
|
+
},
|
|
26
|
+
required: true,
|
|
27
|
+
modes: [
|
|
28
|
+
{
|
|
29
|
+
displayName: 'By ID',
|
|
30
|
+
name: 'id',
|
|
31
|
+
type: 'string',
|
|
32
|
+
placeholder: 'e.g. 123',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
displayName: 'Name',
|
|
38
|
+
name: 'name',
|
|
39
|
+
type: 'string',
|
|
40
|
+
default: '',
|
|
41
|
+
description: 'Location name',
|
|
42
|
+
required: true,
|
|
43
|
+
routing: {
|
|
44
|
+
send: {
|
|
45
|
+
type: 'body',
|
|
46
|
+
property: 'name',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Additional Fields',
|
|
52
|
+
name: 'fields',
|
|
53
|
+
type: 'collection',
|
|
54
|
+
default: {},
|
|
55
|
+
placeholder: 'Add Field',
|
|
56
|
+
options: [
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Address',
|
|
59
|
+
name: 'address',
|
|
60
|
+
type: 'string',
|
|
61
|
+
default: '',
|
|
62
|
+
routing: {
|
|
63
|
+
send: {
|
|
64
|
+
type: 'body',
|
|
65
|
+
property: 'address',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
displayName: 'Description',
|
|
71
|
+
name: 'description',
|
|
72
|
+
type: 'string',
|
|
73
|
+
default: '',
|
|
74
|
+
routing: {
|
|
75
|
+
send: {
|
|
76
|
+
type: 'body',
|
|
77
|
+
property: 'description',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
displayName: 'User Data (JSON)',
|
|
83
|
+
name: 'userData',
|
|
84
|
+
type: 'json',
|
|
85
|
+
default: '{}',
|
|
86
|
+
description: 'Custom attributes',
|
|
87
|
+
routing: {
|
|
88
|
+
send: {
|
|
89
|
+
type: 'body',
|
|
90
|
+
property: 'userData',
|
|
91
|
+
value: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
const displayOptions = {
|
|
99
|
+
show: {
|
|
100
|
+
resource: ['organization'],
|
|
101
|
+
operation: ['createLocation'],
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
exports.createLocationDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
105
|
+
//# sourceMappingURL=createLocation.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createLocation.operation.js","sourceRoot":"","sources":["../../../../../nodes/ninjaone/descriptions/organization/createLocation.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAET,QAAA,oBAAoB,GAAyB;IACzD,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,iCAAiC;IAC9C,MAAM,EAAE,iCAAiC;IACzC,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,0FAA0F;SAC/F;KACD;CACD,CAAC;AAEF,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACR,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,EAAE;SACT;QACD,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE;YACN;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,UAAU;aACvB;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,eAAe;QAC5B,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,MAAM;aAChB;SACD;KACD;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,SAAS;qBACnB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,aAAa;qBACvB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,mBAAmB;gBAChC,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,UAAU;wBACpB,KAAK,EAAE,iEAAiE;qBACxE;iBACD;aACD;SACD;KACD;CACD,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,cAAc,CAAC;QAC1B,SAAS,EAAE,CAAC,gBAAgB,CAAC;KAC7B;CACD,CAAC;AAEW,QAAA,yBAAyB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
|
|
2
|
+
export declare const generateInstallerOption: INodePropertyOptions;
|
|
3
|
+
export declare const generateInstallerDescription: {
|
|
4
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
5
|
+
displayName: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
8
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
9
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
10
|
+
description?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
13
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
14
|
+
envFeatureFlag?: Uppercase<string>;
|
|
15
|
+
options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
isNodeSetting?: boolean;
|
|
18
|
+
noDataExpression?: boolean;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
21
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
22
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
23
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
24
|
+
requiresDataPath?: "single" | "multiple";
|
|
25
|
+
doNotInherit?: boolean;
|
|
26
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
27
|
+
ignoreValidationDuringExecution?: boolean;
|
|
28
|
+
allowArbitraryValues?: boolean;
|
|
29
|
+
resolvableField?: boolean;
|
|
30
|
+
}[];
|