@joshuanode/n8n-nodes-cipp 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/README.md +142 -0
- package/dist/credentials/CippApi.credentials.d.ts +10 -0
- package/dist/credentials/CippApi.credentials.d.ts.map +1 -0
- package/dist/credentials/CippApi.credentials.js +58 -0
- package/dist/credentials/CippApi.credentials.js.map +1 -0
- package/dist/credentials/cipp.svg +4 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/nodes/Cipp/Cipp.node.d.ts +11 -0
- package/dist/nodes/Cipp/Cipp.node.d.ts.map +1 -0
- package/dist/nodes/Cipp/Cipp.node.js +949 -0
- package/dist/nodes/Cipp/Cipp.node.js.map +1 -0
- package/dist/nodes/Cipp/GenericFunctions.d.ts +23 -0
- package/dist/nodes/Cipp/GenericFunctions.d.ts.map +1 -0
- package/dist/nodes/Cipp/GenericFunctions.js +181 -0
- package/dist/nodes/Cipp/GenericFunctions.js.map +1 -0
- package/dist/nodes/Cipp/cipp.svg +4 -0
- package/dist/nodes/Cipp/descriptions/AlertDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/AlertDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/AlertDescription.js +251 -0
- package/dist/nodes/Cipp/descriptions/AlertDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/ApplicationDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/ApplicationDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/ApplicationDescription.js +458 -0
- package/dist/nodes/Cipp/descriptions/ApplicationDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/CippDescription.d.ts +8 -0
- package/dist/nodes/Cipp/descriptions/CippDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/CippDescription.js +534 -0
- package/dist/nodes/Cipp/descriptions/CippDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/DeviceDescription.d.ts +6 -0
- package/dist/nodes/Cipp/descriptions/DeviceDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/DeviceDescription.js +374 -0
- package/dist/nodes/Cipp/descriptions/DeviceDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/GroupDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/GroupDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/GroupDescription.js +315 -0
- package/dist/nodes/Cipp/descriptions/GroupDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/MailboxDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/MailboxDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/MailboxDescription.js +175 -0
- package/dist/nodes/Cipp/descriptions/MailboxDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/TeamDescription.d.ts +6 -0
- package/dist/nodes/Cipp/descriptions/TeamDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/TeamDescription.js +509 -0
- package/dist/nodes/Cipp/descriptions/TeamDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/TenantDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/TenantDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/TenantDescription.js +102 -0
- package/dist/nodes/Cipp/descriptions/TenantDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/UserDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/UserDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/UserDescription.js +374 -0
- package/dist/nodes/Cipp/descriptions/UserDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/index.d.ts +3 -0
- package/dist/nodes/Cipp/descriptions/index.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/index.js +43 -0
- package/dist/nodes/Cipp/descriptions/index.js.map +1 -0
- package/dist/nodes/Cipp/types.d.ts +142 -0
- package/dist/nodes/Cipp/types.d.ts.map +1 -0
- package/dist/nodes/Cipp/types.js +3 -0
- package/dist/nodes/Cipp/types.js.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userFields = exports.userOperations = void 0;
|
|
4
|
+
exports.userOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['user'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Add',
|
|
18
|
+
value: 'add',
|
|
19
|
+
description: 'Create a new user',
|
|
20
|
+
action: 'Add a user',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Clear Immutable ID',
|
|
24
|
+
value: 'clearImmutableId',
|
|
25
|
+
description: 'Clear the immutable ID for a user',
|
|
26
|
+
action: 'Clear immutable ID',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Create TAP',
|
|
30
|
+
value: 'createTap',
|
|
31
|
+
description: 'Create a Temporary Access Password',
|
|
32
|
+
action: 'Create temporary access password',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Disable',
|
|
36
|
+
value: 'disable',
|
|
37
|
+
description: 'Block sign-in for a user',
|
|
38
|
+
action: 'Disable a user',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Enable',
|
|
42
|
+
value: 'enable',
|
|
43
|
+
description: 'Unblock sign-in for a user',
|
|
44
|
+
action: 'Enable a user',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Get Many',
|
|
48
|
+
value: 'getAll',
|
|
49
|
+
description: 'Get a list of users',
|
|
50
|
+
action: 'Get many users',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Offboard',
|
|
54
|
+
value: 'offboard',
|
|
55
|
+
description: 'Offboard a user with all offboarding tasks',
|
|
56
|
+
action: 'Offboard a user',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'Remove',
|
|
60
|
+
value: 'remove',
|
|
61
|
+
description: 'Delete a user',
|
|
62
|
+
action: 'Remove a user',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'Reset MFA',
|
|
66
|
+
value: 'resetMfa',
|
|
67
|
+
description: 'Re-require MFA registration for a user',
|
|
68
|
+
action: 'Reset MFA',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'Reset Password',
|
|
72
|
+
value: 'resetPassword',
|
|
73
|
+
description: 'Reset a user password',
|
|
74
|
+
action: 'Reset password',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'Revoke Sessions',
|
|
78
|
+
value: 'revokeSessions',
|
|
79
|
+
description: 'Revoke all active sessions',
|
|
80
|
+
action: 'Revoke sessions',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'Send MFA Push',
|
|
84
|
+
value: 'sendMfaPush',
|
|
85
|
+
description: 'Send an MFA push notification',
|
|
86
|
+
action: 'Send MFA push',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'Set Per-User MFA',
|
|
90
|
+
value: 'setPerUserMfa',
|
|
91
|
+
description: 'Set per-user MFA state',
|
|
92
|
+
action: 'Set per user mfa',
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
default: 'getAll',
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
exports.userFields = [
|
|
99
|
+
// Tenant selector for all user operations
|
|
100
|
+
{
|
|
101
|
+
displayName: 'Tenant',
|
|
102
|
+
name: 'tenantFilter',
|
|
103
|
+
type: 'resourceLocator',
|
|
104
|
+
default: { mode: 'list', value: '' },
|
|
105
|
+
required: true,
|
|
106
|
+
description: 'The tenant to perform the operation on',
|
|
107
|
+
displayOptions: {
|
|
108
|
+
show: {
|
|
109
|
+
resource: ['user'],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
modes: [
|
|
113
|
+
{
|
|
114
|
+
displayName: 'From List',
|
|
115
|
+
name: 'list',
|
|
116
|
+
type: 'list',
|
|
117
|
+
typeOptions: {
|
|
118
|
+
searchListMethod: 'tenantSearch',
|
|
119
|
+
searchable: true,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
displayName: 'By Domain',
|
|
124
|
+
name: 'id',
|
|
125
|
+
type: 'string',
|
|
126
|
+
placeholder: 'e.g. contoso.onmicrosoft.com',
|
|
127
|
+
hint: 'Enter the tenant default domain',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
// Get Many fields
|
|
132
|
+
{
|
|
133
|
+
displayName: 'Return All',
|
|
134
|
+
name: 'returnAll',
|
|
135
|
+
type: 'boolean',
|
|
136
|
+
displayOptions: {
|
|
137
|
+
show: {
|
|
138
|
+
resource: ['user'],
|
|
139
|
+
operation: ['getAll'],
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
default: false,
|
|
143
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
displayName: 'Limit',
|
|
147
|
+
name: 'limit',
|
|
148
|
+
type: 'number',
|
|
149
|
+
displayOptions: {
|
|
150
|
+
show: {
|
|
151
|
+
resource: ['user'],
|
|
152
|
+
operation: ['getAll'],
|
|
153
|
+
returnAll: [false],
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
typeOptions: {
|
|
157
|
+
minValue: 1,
|
|
158
|
+
maxValue: 999,
|
|
159
|
+
},
|
|
160
|
+
default: 50,
|
|
161
|
+
description: 'Max number of results to return',
|
|
162
|
+
},
|
|
163
|
+
// User ID for single-user operations
|
|
164
|
+
{
|
|
165
|
+
displayName: 'User ID',
|
|
166
|
+
name: 'userId',
|
|
167
|
+
type: 'string',
|
|
168
|
+
required: true,
|
|
169
|
+
displayOptions: {
|
|
170
|
+
show: {
|
|
171
|
+
resource: ['user'],
|
|
172
|
+
operation: [
|
|
173
|
+
'disable',
|
|
174
|
+
'enable',
|
|
175
|
+
'resetMfa',
|
|
176
|
+
'resetPassword',
|
|
177
|
+
'revokeSessions',
|
|
178
|
+
'remove',
|
|
179
|
+
'clearImmutableId',
|
|
180
|
+
'createTap',
|
|
181
|
+
'sendMfaPush',
|
|
182
|
+
'setPerUserMfa',
|
|
183
|
+
],
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
default: '',
|
|
187
|
+
placeholder: 'user@domain.com or GUID',
|
|
188
|
+
description: 'The User Principal Name (UPN) or Object ID of the user',
|
|
189
|
+
},
|
|
190
|
+
// Per-User MFA state
|
|
191
|
+
{
|
|
192
|
+
displayName: 'MFA State',
|
|
193
|
+
name: 'mfaState',
|
|
194
|
+
type: 'options',
|
|
195
|
+
displayOptions: {
|
|
196
|
+
show: {
|
|
197
|
+
resource: ['user'],
|
|
198
|
+
operation: ['setPerUserMfa'],
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
options: [
|
|
202
|
+
{ name: 'Enforced', value: 'Enforced' },
|
|
203
|
+
{ name: 'Enabled', value: 'Enabled' },
|
|
204
|
+
{ name: 'Disabled', value: 'Disabled' },
|
|
205
|
+
],
|
|
206
|
+
default: 'Enforced',
|
|
207
|
+
description: 'The MFA state to set for the user',
|
|
208
|
+
},
|
|
209
|
+
// Reset Password options
|
|
210
|
+
{
|
|
211
|
+
displayName: 'Additional Options',
|
|
212
|
+
name: 'passwordOptions',
|
|
213
|
+
type: 'collection',
|
|
214
|
+
placeholder: 'Add Option',
|
|
215
|
+
default: {},
|
|
216
|
+
displayOptions: {
|
|
217
|
+
show: {
|
|
218
|
+
resource: ['user'],
|
|
219
|
+
operation: ['resetPassword'],
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
options: [
|
|
223
|
+
{
|
|
224
|
+
displayName: 'Must Change Password',
|
|
225
|
+
name: 'mustChangePass',
|
|
226
|
+
type: 'boolean',
|
|
227
|
+
default: true,
|
|
228
|
+
description: 'Whether the user must change password at next logon',
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
// Add User fields
|
|
233
|
+
{
|
|
234
|
+
displayName: 'First Name',
|
|
235
|
+
name: 'firstName',
|
|
236
|
+
type: 'string',
|
|
237
|
+
required: true,
|
|
238
|
+
displayOptions: {
|
|
239
|
+
show: {
|
|
240
|
+
resource: ['user'],
|
|
241
|
+
operation: ['add'],
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
default: '',
|
|
245
|
+
description: 'The first name of the user',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
displayName: 'Last Name',
|
|
249
|
+
name: 'lastName',
|
|
250
|
+
type: 'string',
|
|
251
|
+
required: true,
|
|
252
|
+
displayOptions: {
|
|
253
|
+
show: {
|
|
254
|
+
resource: ['user'],
|
|
255
|
+
operation: ['add'],
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
default: '',
|
|
259
|
+
description: 'The last name of the user',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
displayName: 'Domain',
|
|
263
|
+
name: 'domain',
|
|
264
|
+
type: 'string',
|
|
265
|
+
required: true,
|
|
266
|
+
displayOptions: {
|
|
267
|
+
show: {
|
|
268
|
+
resource: ['user'],
|
|
269
|
+
operation: ['add'],
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
default: '',
|
|
273
|
+
placeholder: 'e.g. contoso.com',
|
|
274
|
+
description: 'The primary domain for the user email',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
displayName: 'Additional Fields',
|
|
278
|
+
name: 'additionalFields',
|
|
279
|
+
type: 'collection',
|
|
280
|
+
placeholder: 'Add Field',
|
|
281
|
+
default: {},
|
|
282
|
+
displayOptions: {
|
|
283
|
+
show: {
|
|
284
|
+
resource: ['user'],
|
|
285
|
+
operation: ['add'],
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
options: [
|
|
289
|
+
{
|
|
290
|
+
displayName: 'Display Name',
|
|
291
|
+
name: 'displayName',
|
|
292
|
+
type: 'string',
|
|
293
|
+
default: '',
|
|
294
|
+
description: 'Custom display name (defaults to First Last)',
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
displayName: 'Mail Nickname',
|
|
298
|
+
name: 'mailNickname',
|
|
299
|
+
type: 'string',
|
|
300
|
+
default: '',
|
|
301
|
+
description: 'Mail alias (defaults to first.last)',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'Usage Location',
|
|
305
|
+
name: 'usageLocation',
|
|
306
|
+
type: 'string',
|
|
307
|
+
default: 'US',
|
|
308
|
+
placeholder: 'e.g. US, GB, DE',
|
|
309
|
+
description: 'ISO country code for license assignment',
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
},
|
|
313
|
+
// Offboard User fields
|
|
314
|
+
{
|
|
315
|
+
displayName: 'Users to Offboard',
|
|
316
|
+
name: 'usersToOffboard',
|
|
317
|
+
type: 'json',
|
|
318
|
+
required: true,
|
|
319
|
+
displayOptions: {
|
|
320
|
+
show: {
|
|
321
|
+
resource: ['user'],
|
|
322
|
+
operation: ['offboard'],
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
default: '[]',
|
|
326
|
+
description: 'JSON array of user objects to offboard',
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
displayName: 'Scheduled Offboard',
|
|
330
|
+
name: 'scheduledOffboard',
|
|
331
|
+
type: 'boolean',
|
|
332
|
+
displayOptions: {
|
|
333
|
+
show: {
|
|
334
|
+
resource: ['user'],
|
|
335
|
+
operation: ['offboard'],
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
default: false,
|
|
339
|
+
description: 'Whether to schedule the offboarding for later',
|
|
340
|
+
},
|
|
341
|
+
// Get Many filters
|
|
342
|
+
{
|
|
343
|
+
displayName: 'Filters',
|
|
344
|
+
name: 'filters',
|
|
345
|
+
type: 'collection',
|
|
346
|
+
placeholder: 'Add Filter',
|
|
347
|
+
default: {},
|
|
348
|
+
displayOptions: {
|
|
349
|
+
show: {
|
|
350
|
+
resource: ['user'],
|
|
351
|
+
operation: ['getAll'],
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
options: [
|
|
355
|
+
{
|
|
356
|
+
displayName: 'Filter Query',
|
|
357
|
+
name: 'filter',
|
|
358
|
+
type: 'string',
|
|
359
|
+
default: '',
|
|
360
|
+
placeholder: "e.g. startsWith(displayName,'John')",
|
|
361
|
+
description: 'OData filter query for filtering results',
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
displayName: 'Select Fields',
|
|
365
|
+
name: 'select',
|
|
366
|
+
type: 'string',
|
|
367
|
+
default: '',
|
|
368
|
+
placeholder: 'e.g. ID,displayName,userPrincipalName,mail',
|
|
369
|
+
description: 'Comma-separated list of fields to return',
|
|
370
|
+
},
|
|
371
|
+
],
|
|
372
|
+
},
|
|
373
|
+
];
|
|
374
|
+
//# sourceMappingURL=UserDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDescription.js","sourceRoot":"","sources":["../../../../nodes/Cipp/descriptions/UserDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,W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AC,UAAU,CAAC;aACvB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,+CAA+C;KAC5D;IAED,mBAAmB;IACnB;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,WAAW,EAAE,0CAA0C;aACvD;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4CAA4C;gBACzD,WAAW,EAAE,0CAA0C;aACvD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../nodes/Cipp/descriptions/index.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,eAAe,0CAc3B,CAAC;AAEF,eAAO,MAAM,cAAc,0CAc1B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resourceFields = exports.operationFields = void 0;
|
|
4
|
+
const AlertDescription_1 = require("./AlertDescription");
|
|
5
|
+
const ApplicationDescription_1 = require("./ApplicationDescription");
|
|
6
|
+
const CippDescription_1 = require("./CippDescription");
|
|
7
|
+
const DeviceDescription_1 = require("./DeviceDescription");
|
|
8
|
+
const GroupDescription_1 = require("./GroupDescription");
|
|
9
|
+
const MailboxDescription_1 = require("./MailboxDescription");
|
|
10
|
+
const TeamDescription_1 = require("./TeamDescription");
|
|
11
|
+
const TenantDescription_1 = require("./TenantDescription");
|
|
12
|
+
const UserDescription_1 = require("./UserDescription");
|
|
13
|
+
exports.operationFields = [
|
|
14
|
+
...AlertDescription_1.alertOperations,
|
|
15
|
+
...ApplicationDescription_1.applicationOperations,
|
|
16
|
+
...DeviceDescription_1.autopilotOperations,
|
|
17
|
+
...CippDescription_1.backupOperations,
|
|
18
|
+
...DeviceDescription_1.deviceOperations,
|
|
19
|
+
...GroupDescription_1.groupOperations,
|
|
20
|
+
...MailboxDescription_1.mailboxOperations,
|
|
21
|
+
...CippDescription_1.scheduledItemOperations,
|
|
22
|
+
...TeamDescription_1.teamOperations,
|
|
23
|
+
...TenantDescription_1.tenantOperations,
|
|
24
|
+
...CippDescription_1.toolsOperations,
|
|
25
|
+
...UserDescription_1.userOperations,
|
|
26
|
+
...TeamDescription_1.voiceOperations,
|
|
27
|
+
];
|
|
28
|
+
exports.resourceFields = [
|
|
29
|
+
...AlertDescription_1.alertFields,
|
|
30
|
+
...ApplicationDescription_1.applicationFields,
|
|
31
|
+
...DeviceDescription_1.autopilotFields,
|
|
32
|
+
...CippDescription_1.backupFields,
|
|
33
|
+
...DeviceDescription_1.deviceFields,
|
|
34
|
+
...GroupDescription_1.groupFields,
|
|
35
|
+
...MailboxDescription_1.mailboxFields,
|
|
36
|
+
...CippDescription_1.scheduledItemFields,
|
|
37
|
+
...TeamDescription_1.teamFields,
|
|
38
|
+
...TenantDescription_1.tenantFields,
|
|
39
|
+
...CippDescription_1.toolsFields,
|
|
40
|
+
...UserDescription_1.userFields,
|
|
41
|
+
...TeamDescription_1.voiceFields,
|
|
42
|
+
];
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Cipp/descriptions/index.ts"],"names":[],"mappings":";;;AAAA,yDAAkE;AAClE,qEAAoF;AACpF,uDAO2B;AAC3B,2DAK6B;AAC7B,yDAAkE;AAClE,6DAAwE;AACxE,uDAA6F;AAC7F,2DAAqE;AACrE,uDAA+D;AAElD,QAAA,eAAe,GAAG;IAC9B,GAAG,kCAAe;IAClB,GAAG,8CAAqB;IACxB,GAAG,uCAAmB;IACtB,GAAG,kCAAgB;IACnB,GAAG,oCAAgB;IACnB,GAAG,kCAAe;IAClB,GAAG,sCAAiB;IACpB,GAAG,yCAAuB;IAC1B,GAAG,gCAAc;IACjB,GAAG,oCAAgB;IACnB,GAAG,iCAAe;IAClB,GAAG,gCAAc;IACjB,GAAG,iCAAe;CAClB,CAAC;AAEW,QAAA,cAAc,GAAG;IAC7B,GAAG,8BAAW;IACd,GAAG,0CAAiB;IACpB,GAAG,mCAAe;IAClB,GAAG,8BAAY;IACf,GAAG,gCAAY;IACf,GAAG,8BAAW;IACd,GAAG,kCAAa;IAChB,GAAG,qCAAmB;IACtB,GAAG,4BAAU;IACb,GAAG,gCAAY;IACf,GAAG,6BAAW;IACd,GAAG,4BAAU;IACb,GAAG,6BAAW;CACd,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export interface ICippCredentials {
|
|
2
|
+
baseUrl: string;
|
|
3
|
+
tenantId: string;
|
|
4
|
+
clientId: string;
|
|
5
|
+
clientSecret: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IAuthToken {
|
|
8
|
+
accessToken: string;
|
|
9
|
+
expiresAt: number;
|
|
10
|
+
}
|
|
11
|
+
export interface ITenant {
|
|
12
|
+
customerId: string;
|
|
13
|
+
defaultDomainName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
domains?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface ICippApiResponse<T = unknown> {
|
|
18
|
+
Results?: T;
|
|
19
|
+
Metadata?: {
|
|
20
|
+
Heading?: string;
|
|
21
|
+
Success?: boolean;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface IGraphRequestParams {
|
|
25
|
+
Endpoint: string;
|
|
26
|
+
tenantFilter?: string;
|
|
27
|
+
$select?: string;
|
|
28
|
+
$filter?: string;
|
|
29
|
+
$orderby?: string;
|
|
30
|
+
$top?: number;
|
|
31
|
+
$count?: boolean;
|
|
32
|
+
manualPagination?: boolean;
|
|
33
|
+
ReverseTenantLookup?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface IUserCreateParams {
|
|
36
|
+
tenantFilter: string;
|
|
37
|
+
firstName: string;
|
|
38
|
+
lastName: string;
|
|
39
|
+
mailNickname?: string;
|
|
40
|
+
domain: string;
|
|
41
|
+
usageLocation?: string;
|
|
42
|
+
displayName?: string;
|
|
43
|
+
password?: string;
|
|
44
|
+
mustChangePass?: boolean;
|
|
45
|
+
licenses?: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface IGroupParams {
|
|
48
|
+
tenantFilter: string;
|
|
49
|
+
groupName?: string;
|
|
50
|
+
groupType?: 'Microsoft 365' | 'Security' | 'Distribution' | 'Mail-Enabled Security';
|
|
51
|
+
groupId?: string;
|
|
52
|
+
members?: string[];
|
|
53
|
+
owners?: string[];
|
|
54
|
+
addMember?: string;
|
|
55
|
+
removeMember?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface IDeviceActionParams {
|
|
58
|
+
tenantFilter: string;
|
|
59
|
+
deviceId: string;
|
|
60
|
+
action: 'Reboot' | 'Rename' | 'Autopilot' | 'Wipe' | 'RemoveFromAutopilot' | 'RemoveFromIntune' | 'RemoveFromDefender' | 'RemoveFromAzure' | 'RemoveFromEverywhere' | 'SyncDevice' | 'FreshStart' | 'QuickScan' | 'FullScan' | 'WindowsUpdateScan' | 'WindowsUpdateReboot' | 'WindowsUpdateDrivers' | 'WindowsUpdateFeatures' | 'WindowsUpdateOther' | 'WindowsUpdateAll';
|
|
61
|
+
newDeviceName?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface IScheduledItemParams {
|
|
64
|
+
tenantFilter?: string;
|
|
65
|
+
Name: string;
|
|
66
|
+
Command: string;
|
|
67
|
+
Parameters?: Record<string, unknown>;
|
|
68
|
+
ScheduledTime?: number;
|
|
69
|
+
Recurrence?: '0' | '1d' | '7d' | '30d' | '365d';
|
|
70
|
+
PostExecution?: string[];
|
|
71
|
+
hidden?: boolean;
|
|
72
|
+
}
|
|
73
|
+
export interface IAlertParams {
|
|
74
|
+
tenantFilter?: string[];
|
|
75
|
+
excludedTenants?: string[];
|
|
76
|
+
logSource?: string;
|
|
77
|
+
conditions?: Record<string, unknown>;
|
|
78
|
+
actions?: string[];
|
|
79
|
+
}
|
|
80
|
+
export interface ISecurityAlertParams {
|
|
81
|
+
tenantFilter: string;
|
|
82
|
+
alertId: string;
|
|
83
|
+
status: 'inProgress' | 'resolved';
|
|
84
|
+
vendorName?: string;
|
|
85
|
+
providerName?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface ISecurityIncidentParams {
|
|
88
|
+
tenantFilter: string;
|
|
89
|
+
incidentId: string;
|
|
90
|
+
status: 'active' | 'inProgress' | 'resolved';
|
|
91
|
+
assignedTo?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface IAppAssignParams {
|
|
94
|
+
tenantFilter: string;
|
|
95
|
+
appId: string;
|
|
96
|
+
assignTo: 'AllUsers' | 'AllDevices' | 'Both' | 'customGroup';
|
|
97
|
+
customGroupNames?: string[];
|
|
98
|
+
}
|
|
99
|
+
export interface IPolicyAssignParams {
|
|
100
|
+
tenantFilter: string;
|
|
101
|
+
policyId: string;
|
|
102
|
+
assignTo: 'AllUsers' | 'AllDevices' | 'Both';
|
|
103
|
+
}
|
|
104
|
+
export interface ITeamParams {
|
|
105
|
+
tenantFilter: string;
|
|
106
|
+
displayName: string;
|
|
107
|
+
description?: string;
|
|
108
|
+
owner: string;
|
|
109
|
+
visibility: 'public' | 'private';
|
|
110
|
+
}
|
|
111
|
+
export interface ISiteParams {
|
|
112
|
+
tenantFilter: string;
|
|
113
|
+
siteName: string;
|
|
114
|
+
siteDescription?: string;
|
|
115
|
+
owner: string;
|
|
116
|
+
templateName: 'team' | 'communication';
|
|
117
|
+
siteDesign?: 'blank' | 'Showcase' | 'Topic';
|
|
118
|
+
}
|
|
119
|
+
export interface IVoiceAssignParams {
|
|
120
|
+
tenantFilter: string;
|
|
121
|
+
phoneNumber: string;
|
|
122
|
+
phoneNumberType?: string;
|
|
123
|
+
locationOnly?: boolean;
|
|
124
|
+
userPrincipalNameOrLocationId: string;
|
|
125
|
+
}
|
|
126
|
+
export interface INamedLocationParams {
|
|
127
|
+
tenantFilter: string;
|
|
128
|
+
displayName: string;
|
|
129
|
+
locationType: 'country' | 'ip';
|
|
130
|
+
countriesAndRegions?: string[];
|
|
131
|
+
includeUnknownCountriesAndRegions?: boolean;
|
|
132
|
+
ipRanges?: string[];
|
|
133
|
+
isTrusted?: boolean;
|
|
134
|
+
}
|
|
135
|
+
export interface IConditionalAccessExclusionParams {
|
|
136
|
+
tenantFilter: string;
|
|
137
|
+
userId: string;
|
|
138
|
+
policyId: string;
|
|
139
|
+
startDate?: string;
|
|
140
|
+
endDate?: string;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../nodes/Cipp/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,M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,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6BAA6B,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iCAAiC;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../nodes/Cipp/types.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@joshuanode/n8n-nodes-cipp",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "n8n community node for CIPP.app - Microsoft 365 multi-tenant management",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"n8n-community-node-package",
|
|
8
|
+
"cipp",
|
|
9
|
+
"microsoft-365",
|
|
10
|
+
"m365",
|
|
11
|
+
"msp",
|
|
12
|
+
"multi-tenant",
|
|
13
|
+
"azure-ad",
|
|
14
|
+
"intune",
|
|
15
|
+
"exchange"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://github.com/ajoshuasmith/n8n-nodes-cipp",
|
|
18
|
+
"author": {
|
|
19
|
+
"name": "Joshua",
|
|
20
|
+
"email": "ajoshuasmith@users.noreply.github.com"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/ajoshuasmith/n8n-nodes-cipp.git"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/ajoshuasmith/n8n-nodes-cipp/issues"
|
|
28
|
+
},
|
|
29
|
+
"main": "dist/index.js",
|
|
30
|
+
"types": "dist/index.d.ts",
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=18.17.0"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "n8n-node build && cp nodes/Cipp/*.svg dist/nodes/Cipp/",
|
|
42
|
+
"build:watch": "tsc --watch",
|
|
43
|
+
"dev": "n8n-node dev",
|
|
44
|
+
"lint": "n8n-node lint",
|
|
45
|
+
"lint:fix": "n8n-node lint --fix",
|
|
46
|
+
"release": "n8n-node release"
|
|
47
|
+
},
|
|
48
|
+
"n8n": {
|
|
49
|
+
"n8nNodesApiVersion": 1,
|
|
50
|
+
"strict": false,
|
|
51
|
+
"credentials": [
|
|
52
|
+
"dist/credentials/CippApi.credentials.js"
|
|
53
|
+
],
|
|
54
|
+
"nodes": [
|
|
55
|
+
"dist/nodes/Cipp/Cipp.node.js"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@n8n/node-cli": "*",
|
|
60
|
+
"eslint": "9.32.0",
|
|
61
|
+
"n8n-workflow": "*",
|
|
62
|
+
"prettier": "3.6.2",
|
|
63
|
+
"typescript": "5.9.2"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"n8n-workflow": "*"
|
|
67
|
+
}
|
|
68
|
+
}
|