@joshuanode/n8n-nodes-cipp 0.0.13 → 0.0.15
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 +1 -1
- package/dist/nodes/Cipp/Cipp.node.d.ts.map +1 -1
- package/dist/nodes/Cipp/Cipp.node.js +1533 -46
- package/dist/nodes/Cipp/Cipp.node.js.map +1 -1
- package/dist/nodes/Cipp/descriptions/ConditionalAccessDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/ConditionalAccessDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/ConditionalAccessDescription.js +413 -0
- package/dist/nodes/Cipp/descriptions/ConditionalAccessDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/DeviceDescription.d.ts.map +1 -1
- package/dist/nodes/Cipp/descriptions/DeviceDescription.js +6 -0
- package/dist/nodes/Cipp/descriptions/DeviceDescription.js.map +1 -1
- package/dist/nodes/Cipp/descriptions/EmailSecurityDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/EmailSecurityDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/EmailSecurityDescription.js +347 -0
- package/dist/nodes/Cipp/descriptions/EmailSecurityDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/ExchangeResourceDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/ExchangeResourceDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/ExchangeResourceDescription.js +249 -0
- package/dist/nodes/Cipp/descriptions/ExchangeResourceDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/IntuneDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/IntuneDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/IntuneDescription.js +250 -0
- package/dist/nodes/Cipp/descriptions/IntuneDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/MailboxDescription.d.ts.map +1 -1
- package/dist/nodes/Cipp/descriptions/MailboxDescription.js +1094 -6
- package/dist/nodes/Cipp/descriptions/MailboxDescription.js.map +1 -1
- package/dist/nodes/Cipp/descriptions/SafeLinksDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/SafeLinksDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/SafeLinksDescription.js +201 -0
- package/dist/nodes/Cipp/descriptions/SafeLinksDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/SharePointDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/SharePointDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/SharePointDescription.js +129 -0
- package/dist/nodes/Cipp/descriptions/SharePointDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/StandardsDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/StandardsDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/StandardsDescription.js +288 -0
- package/dist/nodes/Cipp/descriptions/StandardsDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/TestingDescription.d.ts +4 -0
- package/dist/nodes/Cipp/descriptions/TestingDescription.d.ts.map +1 -0
- package/dist/nodes/Cipp/descriptions/TestingDescription.js +170 -0
- package/dist/nodes/Cipp/descriptions/TestingDescription.js.map +1 -0
- package/dist/nodes/Cipp/descriptions/UserDescription.d.ts.map +1 -1
- package/dist/nodes/Cipp/descriptions/UserDescription.js +135 -2
- package/dist/nodes/Cipp/descriptions/UserDescription.js.map +1 -1
- package/dist/nodes/Cipp/descriptions/index.d.ts.map +1 -1
- package/dist/nodes/Cipp/descriptions/index.js +24 -0
- package/dist/nodes/Cipp/descriptions/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.mailboxFields = exports.mailboxOperations = void 0;
|
|
4
|
+
// Operations that support returnAll / limit
|
|
5
|
+
const listOperations = [
|
|
6
|
+
'listMailboxes',
|
|
7
|
+
'listMailboxDetails',
|
|
8
|
+
'listMailboxRules',
|
|
9
|
+
'listMailboxMobileDevices',
|
|
10
|
+
'listMailboxCAS',
|
|
11
|
+
'listCalendarPermissions',
|
|
12
|
+
'listContactPermissions',
|
|
13
|
+
'listOoO',
|
|
14
|
+
'listMailboxForwarding',
|
|
15
|
+
'listRestrictedUsers',
|
|
16
|
+
'listSharedMailboxStatistics',
|
|
17
|
+
'listSharedMailboxAccountEnabled',
|
|
18
|
+
];
|
|
19
|
+
// Operations that require userId
|
|
20
|
+
const userIdOperations = [
|
|
21
|
+
'convert',
|
|
22
|
+
'enableArchive',
|
|
23
|
+
'setForwarding',
|
|
24
|
+
'setOutOfOffice',
|
|
25
|
+
'listMailboxDetails',
|
|
26
|
+
'listMailboxRules',
|
|
27
|
+
'listMailboxMobileDevices',
|
|
28
|
+
'listCalendarPermissions',
|
|
29
|
+
'listContactPermissions',
|
|
30
|
+
'listOoO',
|
|
31
|
+
'editMailboxPermissions',
|
|
32
|
+
'editCalendarPermissions',
|
|
33
|
+
'modifyContactPerms',
|
|
34
|
+
'removeMailboxRule',
|
|
35
|
+
'setMailboxRule',
|
|
36
|
+
'setMailboxQuota',
|
|
37
|
+
'setLitigationHold',
|
|
38
|
+
'setMailboxEmailSize',
|
|
39
|
+
'setMailboxLocale',
|
|
40
|
+
'setRetentionHold',
|
|
41
|
+
'setRecipientLimits',
|
|
42
|
+
'copyForSent',
|
|
43
|
+
'hideFromGAL',
|
|
44
|
+
'mailboxMobileDevices',
|
|
45
|
+
'startManagedFolderAssistant',
|
|
46
|
+
'enableAutoExpandingArchive',
|
|
47
|
+
'scheduleMailboxVacation',
|
|
48
|
+
'scheduleOOOVacation',
|
|
49
|
+
'setMailboxRetentionPolicies',
|
|
50
|
+
'removeRestrictedUser',
|
|
51
|
+
];
|
|
4
52
|
exports.mailboxOperations = [
|
|
5
53
|
{
|
|
6
54
|
displayName: 'Operation',
|
|
@@ -13,36 +61,252 @@ exports.mailboxOperations = [
|
|
|
13
61
|
},
|
|
14
62
|
},
|
|
15
63
|
options: [
|
|
64
|
+
{
|
|
65
|
+
name: 'Add Shared Mailbox',
|
|
66
|
+
value: 'addSharedMailbox',
|
|
67
|
+
description: 'Create a new shared mailbox',
|
|
68
|
+
action: 'Add shared mailbox',
|
|
69
|
+
},
|
|
16
70
|
{
|
|
17
71
|
name: 'Convert',
|
|
18
72
|
value: 'convert',
|
|
19
73
|
description: 'Convert mailbox between shared and regular types',
|
|
20
74
|
action: 'Convert mailbox',
|
|
21
75
|
},
|
|
76
|
+
{
|
|
77
|
+
name: 'Copy for Sent',
|
|
78
|
+
value: 'copyForSent',
|
|
79
|
+
description: 'Set copy-for-sent items behavior on a shared mailbox',
|
|
80
|
+
action: 'Copy for sent',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'Edit Calendar Permissions',
|
|
84
|
+
value: 'editCalendarPermissions',
|
|
85
|
+
description: 'Edit calendar permissions for a user',
|
|
86
|
+
action: 'Edit calendar permissions',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'Edit Mailbox Permissions',
|
|
90
|
+
value: 'editMailboxPermissions',
|
|
91
|
+
description: 'Edit mailbox permissions (Full Access, Send As, Send on Behalf)',
|
|
92
|
+
action: 'Edit mailbox permissions',
|
|
93
|
+
},
|
|
22
94
|
{
|
|
23
95
|
name: 'Enable Archive',
|
|
24
96
|
value: 'enableArchive',
|
|
25
97
|
description: 'Enable online archive for a user',
|
|
26
98
|
action: 'Enable archive',
|
|
27
99
|
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Enable Auto-Expanding Archive',
|
|
102
|
+
value: 'enableAutoExpandingArchive',
|
|
103
|
+
description: 'Enable auto-expanding archive for a user',
|
|
104
|
+
action: 'Enable auto-expanding archive',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'Hide From GAL',
|
|
108
|
+
value: 'hideFromGAL',
|
|
109
|
+
description: 'Hide or unhide a mailbox from the Global Address List',
|
|
110
|
+
action: 'Hide from GAL',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'High Volume Email',
|
|
114
|
+
value: 'hveUser',
|
|
115
|
+
description: 'Enable or disable high volume email for a user',
|
|
116
|
+
action: 'High volume email',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: 'List Calendar Permissions',
|
|
120
|
+
value: 'listCalendarPermissions',
|
|
121
|
+
description: 'List calendar permissions for a user',
|
|
122
|
+
action: 'List calendar permissions',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'List Contact Permissions',
|
|
126
|
+
value: 'listContactPermissions',
|
|
127
|
+
description: 'List contact folder permissions for a user',
|
|
128
|
+
action: 'List contact permissions',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: 'List Mailbox CAS Settings',
|
|
132
|
+
value: 'listMailboxCAS',
|
|
133
|
+
description: 'List Client Access Settings for a mailbox',
|
|
134
|
+
action: 'List mailbox CAS settings',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'List Mailbox Forwarding',
|
|
138
|
+
value: 'listMailboxForwarding',
|
|
139
|
+
description: 'List mailbox forwarding rules across a tenant',
|
|
140
|
+
action: 'List mailbox forwarding',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: 'List Mailbox Mobile Devices',
|
|
144
|
+
value: 'listMailboxMobileDevices',
|
|
145
|
+
description: 'List mobile devices associated with a mailbox',
|
|
146
|
+
action: 'List mailbox mobile devices',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'List Mailbox Details',
|
|
150
|
+
value: 'listMailboxDetails',
|
|
151
|
+
description: 'Get mailbox details including permissions for a user',
|
|
152
|
+
action: 'List mailbox details',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'List Mailbox Rules',
|
|
156
|
+
value: 'listMailboxRules',
|
|
157
|
+
description: 'List inbox rules for a mailbox',
|
|
158
|
+
action: 'List mailbox rules',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'List Mailboxes',
|
|
162
|
+
value: 'listMailboxes',
|
|
163
|
+
description: 'List all mailboxes in a tenant',
|
|
164
|
+
action: 'List mailboxes',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'List Out of Office',
|
|
168
|
+
value: 'listOoO',
|
|
169
|
+
description: 'List out-of-office settings for a user',
|
|
170
|
+
action: 'List out of office',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'List Restricted Users',
|
|
174
|
+
value: 'listRestrictedUsers',
|
|
175
|
+
description: 'List users restricted from sending email',
|
|
176
|
+
action: 'List restricted users',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'List Shared Mailbox Account Enabled',
|
|
180
|
+
value: 'listSharedMailboxAccountEnabled',
|
|
181
|
+
description: 'List shared mailboxes with account sign-in enabled',
|
|
182
|
+
action: 'List shared mailbox account enabled',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'List Shared Mailbox Statistics',
|
|
186
|
+
value: 'listSharedMailboxStatistics',
|
|
187
|
+
description: 'List shared mailbox statistics',
|
|
188
|
+
action: 'List shared mailbox statistics',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'Manage Mobile Devices',
|
|
192
|
+
value: 'mailboxMobileDevices',
|
|
193
|
+
description: 'Manage mobile devices on a mailbox (wipe, block, allow)',
|
|
194
|
+
action: 'Manage mobile devices',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'Manage Retention Policies',
|
|
198
|
+
value: 'manageRetentionPolicies',
|
|
199
|
+
description: 'Manage Exchange retention policies for a tenant',
|
|
200
|
+
action: 'Manage retention policies',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: 'Manage Retention Tags',
|
|
204
|
+
value: 'manageRetentionTags',
|
|
205
|
+
description: 'Manage Exchange retention tags for a tenant',
|
|
206
|
+
action: 'Manage retention tags',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'Modify Contact Permissions',
|
|
210
|
+
value: 'modifyContactPerms',
|
|
211
|
+
description: 'Modify contact folder permissions for a user',
|
|
212
|
+
action: 'Modify contact permissions',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: 'Remove Mailbox Rule',
|
|
216
|
+
value: 'removeMailboxRule',
|
|
217
|
+
description: 'Remove an inbox rule from a mailbox',
|
|
218
|
+
action: 'Remove mailbox rule',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: 'Remove Restricted User',
|
|
222
|
+
value: 'removeRestrictedUser',
|
|
223
|
+
description: 'Remove a user from the restricted senders list',
|
|
224
|
+
action: 'Remove restricted user',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: 'Schedule Mailbox Vacation',
|
|
228
|
+
value: 'scheduleMailboxVacation',
|
|
229
|
+
description: 'Schedule mailbox vacation settings (permissions, calendar)',
|
|
230
|
+
action: 'Schedule mailbox vacation',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'Schedule OOO Vacation',
|
|
234
|
+
value: 'scheduleOOOVacation',
|
|
235
|
+
description: 'Schedule out-of-office vacation auto-reply',
|
|
236
|
+
action: 'Schedule OOO vacation',
|
|
237
|
+
},
|
|
28
238
|
{
|
|
29
239
|
name: 'Set Email Forwarding',
|
|
30
240
|
value: 'setForwarding',
|
|
31
241
|
description: 'Manage email forwarding settings',
|
|
32
242
|
action: 'Set email forwarding',
|
|
33
243
|
},
|
|
244
|
+
{
|
|
245
|
+
name: 'Set Litigation Hold',
|
|
246
|
+
value: 'setLitigationHold',
|
|
247
|
+
description: 'Enable or disable litigation hold on a mailbox',
|
|
248
|
+
action: 'Set litigation hold',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: 'Set Mailbox Email Size',
|
|
252
|
+
value: 'setMailboxEmailSize',
|
|
253
|
+
description: 'Set the maximum send/receive email size for a mailbox',
|
|
254
|
+
action: 'Set mailbox email size',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: 'Set Mailbox Locale',
|
|
258
|
+
value: 'setMailboxLocale',
|
|
259
|
+
description: 'Set the language and locale for a mailbox',
|
|
260
|
+
action: 'Set mailbox locale',
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: 'Set Mailbox Quota',
|
|
264
|
+
value: 'setMailboxQuota',
|
|
265
|
+
description: 'Set mailbox storage quotas',
|
|
266
|
+
action: 'Set mailbox quota',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: 'Set Mailbox Retention Policy',
|
|
270
|
+
value: 'setMailboxRetentionPolicies',
|
|
271
|
+
description: 'Assign a retention policy to a mailbox',
|
|
272
|
+
action: 'Set mailbox retention policy',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: 'Set Mailbox Rule',
|
|
276
|
+
value: 'setMailboxRule',
|
|
277
|
+
description: 'Create or update an inbox rule on a mailbox',
|
|
278
|
+
action: 'Set mailbox rule',
|
|
279
|
+
},
|
|
34
280
|
{
|
|
35
281
|
name: 'Set Out of Office',
|
|
36
282
|
value: 'setOutOfOffice',
|
|
37
283
|
description: 'Set or disable out of office message',
|
|
38
284
|
action: 'Set out of office',
|
|
39
285
|
},
|
|
286
|
+
{
|
|
287
|
+
name: 'Set Recipient Limits',
|
|
288
|
+
value: 'setRecipientLimits',
|
|
289
|
+
description: 'Set the maximum number of recipients per message',
|
|
290
|
+
action: 'Set recipient limits',
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
name: 'Set Retention Hold',
|
|
294
|
+
value: 'setRetentionHold',
|
|
295
|
+
description: 'Enable or disable retention hold on a mailbox',
|
|
296
|
+
action: 'Set retention hold',
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: 'Start Managed Folder Assistant',
|
|
300
|
+
value: 'startManagedFolderAssistant',
|
|
301
|
+
description: 'Start the managed folder assistant to process retention policies',
|
|
302
|
+
action: 'Start managed folder assistant',
|
|
303
|
+
},
|
|
40
304
|
],
|
|
41
|
-
default: '
|
|
305
|
+
default: 'listMailboxes',
|
|
42
306
|
},
|
|
43
307
|
];
|
|
44
308
|
exports.mailboxFields = [
|
|
45
|
-
// Tenant selector
|
|
309
|
+
// ==================== Tenant selector (all operations) ====================
|
|
46
310
|
{
|
|
47
311
|
displayName: 'Tenant',
|
|
48
312
|
name: 'tenantFilter',
|
|
@@ -73,7 +337,7 @@ exports.mailboxFields = [
|
|
|
73
337
|
},
|
|
74
338
|
],
|
|
75
339
|
},
|
|
76
|
-
// User ID
|
|
340
|
+
// ==================== User ID (most operations) ====================
|
|
77
341
|
{
|
|
78
342
|
displayName: 'User ID',
|
|
79
343
|
name: 'userId',
|
|
@@ -82,13 +346,46 @@ exports.mailboxFields = [
|
|
|
82
346
|
displayOptions: {
|
|
83
347
|
show: {
|
|
84
348
|
resource: ['mailbox'],
|
|
349
|
+
operation: userIdOperations,
|
|
85
350
|
},
|
|
86
351
|
},
|
|
87
352
|
default: '',
|
|
88
353
|
placeholder: 'user@domain.com',
|
|
89
354
|
description: 'The User Principal Name (UPN) of the mailbox owner',
|
|
90
355
|
},
|
|
91
|
-
//
|
|
356
|
+
// ==================== Return All / Limit (list operations) ====================
|
|
357
|
+
{
|
|
358
|
+
displayName: 'Return All',
|
|
359
|
+
name: 'returnAll',
|
|
360
|
+
type: 'boolean',
|
|
361
|
+
displayOptions: {
|
|
362
|
+
show: {
|
|
363
|
+
resource: ['mailbox'],
|
|
364
|
+
operation: listOperations,
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
default: false,
|
|
368
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
displayName: 'Limit',
|
|
372
|
+
name: 'limit',
|
|
373
|
+
type: 'number',
|
|
374
|
+
displayOptions: {
|
|
375
|
+
show: {
|
|
376
|
+
resource: ['mailbox'],
|
|
377
|
+
operation: listOperations,
|
|
378
|
+
returnAll: [false],
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
typeOptions: {
|
|
382
|
+
minValue: 1,
|
|
383
|
+
maxValue: 500,
|
|
384
|
+
},
|
|
385
|
+
default: 50,
|
|
386
|
+
description: 'Max number of results to return',
|
|
387
|
+
},
|
|
388
|
+
// ==================== Convert Mailbox ====================
|
|
92
389
|
{
|
|
93
390
|
displayName: 'Mailbox Type',
|
|
94
391
|
name: 'mailboxType',
|
|
@@ -107,7 +404,7 @@ exports.mailboxFields = [
|
|
|
107
404
|
default: 'Shared',
|
|
108
405
|
description: 'The type to convert the mailbox to',
|
|
109
406
|
},
|
|
110
|
-
// Out of Office
|
|
407
|
+
// ==================== Out of Office ====================
|
|
111
408
|
{
|
|
112
409
|
displayName: 'Auto-Reply State',
|
|
113
410
|
name: 'autoReplyState',
|
|
@@ -143,7 +440,7 @@ exports.mailboxFields = [
|
|
|
143
440
|
default: '',
|
|
144
441
|
description: 'The out of office message to set',
|
|
145
442
|
},
|
|
146
|
-
// Email Forwarding
|
|
443
|
+
// ==================== Email Forwarding ====================
|
|
147
444
|
{
|
|
148
445
|
displayName: 'Forward To',
|
|
149
446
|
name: 'forwardTo',
|
|
@@ -171,5 +468,796 @@ exports.mailboxFields = [
|
|
|
171
468
|
default: true,
|
|
172
469
|
description: 'Whether to keep a copy of forwarded messages in the mailbox',
|
|
173
470
|
},
|
|
471
|
+
// ==================== Add Shared Mailbox ====================
|
|
472
|
+
{
|
|
473
|
+
displayName: 'Display Name',
|
|
474
|
+
name: 'displayName',
|
|
475
|
+
type: 'string',
|
|
476
|
+
required: true,
|
|
477
|
+
displayOptions: {
|
|
478
|
+
show: {
|
|
479
|
+
resource: ['mailbox'],
|
|
480
|
+
operation: ['addSharedMailbox'],
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
default: '',
|
|
484
|
+
description: 'The display name for the shared mailbox',
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
displayName: 'Username',
|
|
488
|
+
name: 'username',
|
|
489
|
+
type: 'string',
|
|
490
|
+
required: true,
|
|
491
|
+
displayOptions: {
|
|
492
|
+
show: {
|
|
493
|
+
resource: ['mailbox'],
|
|
494
|
+
operation: ['addSharedMailbox'],
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
default: '',
|
|
498
|
+
placeholder: 'e.g. support',
|
|
499
|
+
description: 'The username (alias) for the shared mailbox',
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
displayName: 'Domain',
|
|
503
|
+
name: 'domain',
|
|
504
|
+
type: 'string',
|
|
505
|
+
required: true,
|
|
506
|
+
displayOptions: {
|
|
507
|
+
show: {
|
|
508
|
+
resource: ['mailbox'],
|
|
509
|
+
operation: ['addSharedMailbox'],
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
default: '',
|
|
513
|
+
placeholder: 'e.g. contoso.com',
|
|
514
|
+
description: 'The domain for the shared mailbox email address',
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
displayName: 'Additional Fields',
|
|
518
|
+
name: 'additionalFields',
|
|
519
|
+
type: 'collection',
|
|
520
|
+
placeholder: 'Add Field',
|
|
521
|
+
default: {},
|
|
522
|
+
displayOptions: {
|
|
523
|
+
show: {
|
|
524
|
+
resource: ['mailbox'],
|
|
525
|
+
operation: ['addSharedMailbox'],
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
options: [
|
|
529
|
+
{
|
|
530
|
+
displayName: 'Auto-Mapping',
|
|
531
|
+
name: 'autoMapping',
|
|
532
|
+
type: 'boolean',
|
|
533
|
+
default: true,
|
|
534
|
+
description: 'Whether to auto-map the shared mailbox in Outlook',
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
},
|
|
538
|
+
// ==================== Edit Mailbox Permissions ====================
|
|
539
|
+
{
|
|
540
|
+
displayName: 'Permissions',
|
|
541
|
+
name: 'permissions',
|
|
542
|
+
type: 'collection',
|
|
543
|
+
placeholder: 'Add Permission',
|
|
544
|
+
default: {},
|
|
545
|
+
required: true,
|
|
546
|
+
displayOptions: {
|
|
547
|
+
show: {
|
|
548
|
+
resource: ['mailbox'],
|
|
549
|
+
operation: ['editMailboxPermissions'],
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
options: [
|
|
553
|
+
{
|
|
554
|
+
displayName: 'Add Full Access',
|
|
555
|
+
name: 'AddFullAccess',
|
|
556
|
+
type: 'string',
|
|
557
|
+
default: '',
|
|
558
|
+
description: 'User to grant full access to (UPN)',
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
displayName: 'Remove Full Access',
|
|
562
|
+
name: 'RemoveFullAccess',
|
|
563
|
+
type: 'string',
|
|
564
|
+
default: '',
|
|
565
|
+
description: 'User to remove full access from (UPN)',
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
displayName: 'Add Send As',
|
|
569
|
+
name: 'AddSendAs',
|
|
570
|
+
type: 'string',
|
|
571
|
+
default: '',
|
|
572
|
+
description: 'User to grant send-as permission to (UPN)',
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
displayName: 'Remove Send As',
|
|
576
|
+
name: 'RemoveSendAs',
|
|
577
|
+
type: 'string',
|
|
578
|
+
default: '',
|
|
579
|
+
description: 'User to remove send-as permission from (UPN)',
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
displayName: 'Add Send on Behalf',
|
|
583
|
+
name: 'AddSendOnBehalf',
|
|
584
|
+
type: 'string',
|
|
585
|
+
default: '',
|
|
586
|
+
description: 'User to grant send-on-behalf permission to (UPN)',
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
displayName: 'Remove Send on Behalf',
|
|
590
|
+
name: 'RemoveSendOnBehalf',
|
|
591
|
+
type: 'string',
|
|
592
|
+
default: '',
|
|
593
|
+
description: 'User to remove send-on-behalf permission from (UPN)',
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
displayName: 'Auto-Mapping',
|
|
597
|
+
name: 'AutoMapping',
|
|
598
|
+
type: 'boolean',
|
|
599
|
+
default: true,
|
|
600
|
+
description: 'Whether to auto-map the mailbox in Outlook for full access users',
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
},
|
|
604
|
+
// ==================== Edit Calendar Permissions ====================
|
|
605
|
+
{
|
|
606
|
+
displayName: 'User to Modify',
|
|
607
|
+
name: 'userToModify',
|
|
608
|
+
type: 'string',
|
|
609
|
+
required: true,
|
|
610
|
+
displayOptions: {
|
|
611
|
+
show: {
|
|
612
|
+
resource: ['mailbox'],
|
|
613
|
+
operation: ['editCalendarPermissions'],
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
default: '',
|
|
617
|
+
placeholder: 'user@domain.com',
|
|
618
|
+
description: 'The user to add or modify calendar permissions for',
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
displayName: 'Permission Level',
|
|
622
|
+
name: 'permissionLevel',
|
|
623
|
+
type: 'options',
|
|
624
|
+
required: true,
|
|
625
|
+
displayOptions: {
|
|
626
|
+
show: {
|
|
627
|
+
resource: ['mailbox'],
|
|
628
|
+
operation: ['editCalendarPermissions'],
|
|
629
|
+
},
|
|
630
|
+
},
|
|
631
|
+
options: [
|
|
632
|
+
{ name: 'Author', value: 'Author' },
|
|
633
|
+
{ name: 'Contributor', value: 'Contributor' },
|
|
634
|
+
{ name: 'Editor', value: 'Editor' },
|
|
635
|
+
{ name: 'None', value: 'None' },
|
|
636
|
+
{ name: 'Non Editing Author', value: 'NonEditingAuthor' },
|
|
637
|
+
{ name: 'Owner', value: 'Owner' },
|
|
638
|
+
{ name: 'Publishing Author', value: 'PublishingAuthor' },
|
|
639
|
+
{ name: 'Publishing Editor', value: 'PublishingEditor' },
|
|
640
|
+
{ name: 'Reviewer', value: 'Reviewer' },
|
|
641
|
+
{ name: 'Limited Details', value: 'LimitedDetails' },
|
|
642
|
+
{ name: 'Availability Only', value: 'AvailabilityOnly' },
|
|
643
|
+
],
|
|
644
|
+
default: 'Reviewer',
|
|
645
|
+
description: 'The calendar permission level to assign',
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
displayName: 'Folder Name',
|
|
649
|
+
name: 'folderName',
|
|
650
|
+
type: 'string',
|
|
651
|
+
displayOptions: {
|
|
652
|
+
show: {
|
|
653
|
+
resource: ['mailbox'],
|
|
654
|
+
operation: ['editCalendarPermissions'],
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
default: 'Calendar',
|
|
658
|
+
description: 'The calendar folder name (default: Calendar)',
|
|
659
|
+
},
|
|
660
|
+
// ==================== Modify Contact Permissions ====================
|
|
661
|
+
{
|
|
662
|
+
displayName: 'User to Modify',
|
|
663
|
+
name: 'contactUserToModify',
|
|
664
|
+
type: 'string',
|
|
665
|
+
required: true,
|
|
666
|
+
displayOptions: {
|
|
667
|
+
show: {
|
|
668
|
+
resource: ['mailbox'],
|
|
669
|
+
operation: ['modifyContactPerms'],
|
|
670
|
+
},
|
|
671
|
+
},
|
|
672
|
+
default: '',
|
|
673
|
+
placeholder: 'user@domain.com',
|
|
674
|
+
description: 'The user to add or modify contact folder permissions for',
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
displayName: 'Permission Level',
|
|
678
|
+
name: 'contactPermissionLevel',
|
|
679
|
+
type: 'options',
|
|
680
|
+
required: true,
|
|
681
|
+
displayOptions: {
|
|
682
|
+
show: {
|
|
683
|
+
resource: ['mailbox'],
|
|
684
|
+
operation: ['modifyContactPerms'],
|
|
685
|
+
},
|
|
686
|
+
},
|
|
687
|
+
options: [
|
|
688
|
+
{ name: 'Author', value: 'Author' },
|
|
689
|
+
{ name: 'Contributor', value: 'Contributor' },
|
|
690
|
+
{ name: 'Editor', value: 'Editor' },
|
|
691
|
+
{ name: 'None', value: 'None' },
|
|
692
|
+
{ name: 'Non Editing Author', value: 'NonEditingAuthor' },
|
|
693
|
+
{ name: 'Owner', value: 'Owner' },
|
|
694
|
+
{ name: 'Publishing Author', value: 'PublishingAuthor' },
|
|
695
|
+
{ name: 'Publishing Editor', value: 'PublishingEditor' },
|
|
696
|
+
{ name: 'Reviewer', value: 'Reviewer' },
|
|
697
|
+
],
|
|
698
|
+
default: 'Reviewer',
|
|
699
|
+
description: 'The contact folder permission level to assign',
|
|
700
|
+
},
|
|
701
|
+
// ==================== Remove Mailbox Rule ====================
|
|
702
|
+
{
|
|
703
|
+
displayName: 'Rule Name',
|
|
704
|
+
name: 'ruleName',
|
|
705
|
+
type: 'string',
|
|
706
|
+
required: true,
|
|
707
|
+
displayOptions: {
|
|
708
|
+
show: {
|
|
709
|
+
resource: ['mailbox'],
|
|
710
|
+
operation: ['removeMailboxRule'],
|
|
711
|
+
},
|
|
712
|
+
},
|
|
713
|
+
default: '',
|
|
714
|
+
description: 'The name of the inbox rule to remove',
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
displayName: 'Rule ID',
|
|
718
|
+
name: 'ruleId',
|
|
719
|
+
type: 'string',
|
|
720
|
+
required: true,
|
|
721
|
+
displayOptions: {
|
|
722
|
+
show: {
|
|
723
|
+
resource: ['mailbox'],
|
|
724
|
+
operation: ['removeMailboxRule'],
|
|
725
|
+
},
|
|
726
|
+
},
|
|
727
|
+
default: '',
|
|
728
|
+
description: 'The ID of the inbox rule to remove',
|
|
729
|
+
},
|
|
730
|
+
// ==================== Set Mailbox Rule ====================
|
|
731
|
+
{
|
|
732
|
+
displayName: 'Rule Name',
|
|
733
|
+
name: 'setRuleName',
|
|
734
|
+
type: 'string',
|
|
735
|
+
required: true,
|
|
736
|
+
displayOptions: {
|
|
737
|
+
show: {
|
|
738
|
+
resource: ['mailbox'],
|
|
739
|
+
operation: ['setMailboxRule'],
|
|
740
|
+
},
|
|
741
|
+
},
|
|
742
|
+
default: '',
|
|
743
|
+
description: 'The name of the inbox rule to enable or disable',
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
displayName: 'Rule ID',
|
|
747
|
+
name: 'setRuleId',
|
|
748
|
+
type: 'string',
|
|
749
|
+
required: true,
|
|
750
|
+
displayOptions: {
|
|
751
|
+
show: {
|
|
752
|
+
resource: ['mailbox'],
|
|
753
|
+
operation: ['setMailboxRule'],
|
|
754
|
+
},
|
|
755
|
+
},
|
|
756
|
+
default: '',
|
|
757
|
+
description: 'The ID of the inbox rule',
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
displayName: 'Action',
|
|
761
|
+
name: 'ruleAction',
|
|
762
|
+
type: 'options',
|
|
763
|
+
required: true,
|
|
764
|
+
displayOptions: {
|
|
765
|
+
show: {
|
|
766
|
+
resource: ['mailbox'],
|
|
767
|
+
operation: ['setMailboxRule'],
|
|
768
|
+
},
|
|
769
|
+
},
|
|
770
|
+
options: [
|
|
771
|
+
{ name: 'Enable', value: 'Enable' },
|
|
772
|
+
{ name: 'Disable', value: 'Disable' },
|
|
773
|
+
],
|
|
774
|
+
default: 'Enable',
|
|
775
|
+
description: 'Whether to enable or disable the rule',
|
|
776
|
+
},
|
|
777
|
+
// ==================== Set Mailbox Quota ====================
|
|
778
|
+
{
|
|
779
|
+
displayName: 'Quota Type',
|
|
780
|
+
name: 'quotaType',
|
|
781
|
+
type: 'options',
|
|
782
|
+
required: true,
|
|
783
|
+
displayOptions: {
|
|
784
|
+
show: {
|
|
785
|
+
resource: ['mailbox'],
|
|
786
|
+
operation: ['setMailboxQuota'],
|
|
787
|
+
},
|
|
788
|
+
},
|
|
789
|
+
options: [
|
|
790
|
+
{ name: 'Prohibit Send', value: 'ProhibitSendQuota' },
|
|
791
|
+
{ name: 'Prohibit Send/Receive', value: 'ProhibitSendReceiveQuota' },
|
|
792
|
+
{ name: 'Issue Warning', value: 'IssueWarningQuota' },
|
|
793
|
+
],
|
|
794
|
+
default: 'ProhibitSendQuota',
|
|
795
|
+
description: 'The type of quota to set',
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
displayName: 'Quota Value',
|
|
799
|
+
name: 'quotaValue',
|
|
800
|
+
type: 'string',
|
|
801
|
+
required: true,
|
|
802
|
+
displayOptions: {
|
|
803
|
+
show: {
|
|
804
|
+
resource: ['mailbox'],
|
|
805
|
+
operation: ['setMailboxQuota'],
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
default: '50GB',
|
|
809
|
+
placeholder: 'e.g. 50GB',
|
|
810
|
+
description: 'The quota value (e.g. "50GB")',
|
|
811
|
+
},
|
|
812
|
+
// ==================== Set Litigation Hold ====================
|
|
813
|
+
{
|
|
814
|
+
displayName: 'Enabled',
|
|
815
|
+
name: 'litigationHoldEnabled',
|
|
816
|
+
type: 'boolean',
|
|
817
|
+
required: true,
|
|
818
|
+
displayOptions: {
|
|
819
|
+
show: {
|
|
820
|
+
resource: ['mailbox'],
|
|
821
|
+
operation: ['setLitigationHold'],
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
default: true,
|
|
825
|
+
description: 'Whether to enable or disable litigation hold',
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
displayName: 'Duration (Days)',
|
|
829
|
+
name: 'litigationHoldDuration',
|
|
830
|
+
type: 'number',
|
|
831
|
+
displayOptions: {
|
|
832
|
+
show: {
|
|
833
|
+
resource: ['mailbox'],
|
|
834
|
+
operation: ['setLitigationHold'],
|
|
835
|
+
litigationHoldEnabled: [true],
|
|
836
|
+
},
|
|
837
|
+
},
|
|
838
|
+
default: 0,
|
|
839
|
+
description: 'Duration in days (0 = unlimited)',
|
|
840
|
+
},
|
|
841
|
+
// ==================== Set Mailbox Email Size ====================
|
|
842
|
+
{
|
|
843
|
+
displayName: 'Max Send Size (MB)',
|
|
844
|
+
name: 'maxSendSize',
|
|
845
|
+
type: 'number',
|
|
846
|
+
required: true,
|
|
847
|
+
displayOptions: {
|
|
848
|
+
show: {
|
|
849
|
+
resource: ['mailbox'],
|
|
850
|
+
operation: ['setMailboxEmailSize'],
|
|
851
|
+
},
|
|
852
|
+
},
|
|
853
|
+
default: 35,
|
|
854
|
+
description: 'Maximum email size for sending (in MB)',
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
displayName: 'Max Receive Size (MB)',
|
|
858
|
+
name: 'maxReceiveSize',
|
|
859
|
+
type: 'number',
|
|
860
|
+
required: true,
|
|
861
|
+
displayOptions: {
|
|
862
|
+
show: {
|
|
863
|
+
resource: ['mailbox'],
|
|
864
|
+
operation: ['setMailboxEmailSize'],
|
|
865
|
+
},
|
|
866
|
+
},
|
|
867
|
+
default: 36,
|
|
868
|
+
description: 'Maximum email size for receiving (in MB)',
|
|
869
|
+
},
|
|
870
|
+
// ==================== Set Mailbox Locale ====================
|
|
871
|
+
{
|
|
872
|
+
displayName: 'Language',
|
|
873
|
+
name: 'language',
|
|
874
|
+
type: 'string',
|
|
875
|
+
required: true,
|
|
876
|
+
displayOptions: {
|
|
877
|
+
show: {
|
|
878
|
+
resource: ['mailbox'],
|
|
879
|
+
operation: ['setMailboxLocale'],
|
|
880
|
+
},
|
|
881
|
+
},
|
|
882
|
+
default: 'en-US',
|
|
883
|
+
placeholder: 'e.g. en-US, de-DE, fr-FR',
|
|
884
|
+
description: 'The language/locale code for the mailbox',
|
|
885
|
+
},
|
|
886
|
+
// ==================== Set Retention Hold ====================
|
|
887
|
+
{
|
|
888
|
+
displayName: 'Enabled',
|
|
889
|
+
name: 'retentionHoldEnabled',
|
|
890
|
+
type: 'boolean',
|
|
891
|
+
required: true,
|
|
892
|
+
displayOptions: {
|
|
893
|
+
show: {
|
|
894
|
+
resource: ['mailbox'],
|
|
895
|
+
operation: ['setRetentionHold'],
|
|
896
|
+
},
|
|
897
|
+
},
|
|
898
|
+
default: true,
|
|
899
|
+
description: 'Whether to enable or disable retention hold',
|
|
900
|
+
},
|
|
901
|
+
// ==================== Set Recipient Limits ====================
|
|
902
|
+
{
|
|
903
|
+
displayName: 'Recipient Limit',
|
|
904
|
+
name: 'recipientLimit',
|
|
905
|
+
type: 'number',
|
|
906
|
+
required: true,
|
|
907
|
+
displayOptions: {
|
|
908
|
+
show: {
|
|
909
|
+
resource: ['mailbox'],
|
|
910
|
+
operation: ['setRecipientLimits'],
|
|
911
|
+
},
|
|
912
|
+
},
|
|
913
|
+
typeOptions: {
|
|
914
|
+
minValue: 1,
|
|
915
|
+
maxValue: 500,
|
|
916
|
+
},
|
|
917
|
+
default: 500,
|
|
918
|
+
description: 'Maximum number of recipients per message',
|
|
919
|
+
},
|
|
920
|
+
// ==================== Copy for Sent ====================
|
|
921
|
+
{
|
|
922
|
+
displayName: 'Enabled',
|
|
923
|
+
name: 'copyForSentEnabled',
|
|
924
|
+
type: 'boolean',
|
|
925
|
+
required: true,
|
|
926
|
+
displayOptions: {
|
|
927
|
+
show: {
|
|
928
|
+
resource: ['mailbox'],
|
|
929
|
+
operation: ['copyForSent'],
|
|
930
|
+
},
|
|
931
|
+
},
|
|
932
|
+
default: true,
|
|
933
|
+
description: 'Whether to save a copy of sent items in the shared mailbox sent folder',
|
|
934
|
+
},
|
|
935
|
+
// ==================== Hide From GAL ====================
|
|
936
|
+
{
|
|
937
|
+
displayName: 'Hidden',
|
|
938
|
+
name: 'hiddenFromGAL',
|
|
939
|
+
type: 'boolean',
|
|
940
|
+
required: true,
|
|
941
|
+
displayOptions: {
|
|
942
|
+
show: {
|
|
943
|
+
resource: ['mailbox'],
|
|
944
|
+
operation: ['hideFromGAL'],
|
|
945
|
+
},
|
|
946
|
+
},
|
|
947
|
+
default: true,
|
|
948
|
+
description: 'Whether to hide the mailbox from the Global Address List',
|
|
949
|
+
},
|
|
950
|
+
// ==================== Manage Mobile Devices ====================
|
|
951
|
+
{
|
|
952
|
+
displayName: 'GUID',
|
|
953
|
+
name: 'deviceGuid',
|
|
954
|
+
type: 'string',
|
|
955
|
+
required: true,
|
|
956
|
+
displayOptions: {
|
|
957
|
+
show: {
|
|
958
|
+
resource: ['mailbox'],
|
|
959
|
+
operation: ['mailboxMobileDevices'],
|
|
960
|
+
},
|
|
961
|
+
},
|
|
962
|
+
default: '',
|
|
963
|
+
description: 'The GUID of the mobile device to manage',
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
displayName: 'Device ID',
|
|
967
|
+
name: 'deviceId',
|
|
968
|
+
type: 'string',
|
|
969
|
+
required: true,
|
|
970
|
+
displayOptions: {
|
|
971
|
+
show: {
|
|
972
|
+
resource: ['mailbox'],
|
|
973
|
+
operation: ['mailboxMobileDevices'],
|
|
974
|
+
},
|
|
975
|
+
},
|
|
976
|
+
default: '',
|
|
977
|
+
description: 'The device ID of the mobile device',
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
displayName: 'Action',
|
|
981
|
+
name: 'mobileAction',
|
|
982
|
+
type: 'options',
|
|
983
|
+
required: true,
|
|
984
|
+
displayOptions: {
|
|
985
|
+
show: {
|
|
986
|
+
resource: ['mailbox'],
|
|
987
|
+
operation: ['mailboxMobileDevices'],
|
|
988
|
+
},
|
|
989
|
+
},
|
|
990
|
+
options: [
|
|
991
|
+
{ name: 'Quarantine (Block)', value: 'Quarantine' },
|
|
992
|
+
{ name: 'Delete', value: 'Delete' },
|
|
993
|
+
],
|
|
994
|
+
default: 'Quarantine',
|
|
995
|
+
description: 'The action to perform on the mobile device',
|
|
996
|
+
},
|
|
997
|
+
// ==================== High Volume Email ====================
|
|
998
|
+
{
|
|
999
|
+
displayName: 'Display Name',
|
|
1000
|
+
name: 'hveDisplayName',
|
|
1001
|
+
type: 'string',
|
|
1002
|
+
required: true,
|
|
1003
|
+
displayOptions: {
|
|
1004
|
+
show: {
|
|
1005
|
+
resource: ['mailbox'],
|
|
1006
|
+
operation: ['hveUser'],
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
1009
|
+
default: '',
|
|
1010
|
+
description: 'The display name for the HVE user',
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
displayName: 'Primary SMTP Address',
|
|
1014
|
+
name: 'hvePrimarySMTPAddress',
|
|
1015
|
+
type: 'string',
|
|
1016
|
+
required: true,
|
|
1017
|
+
displayOptions: {
|
|
1018
|
+
show: {
|
|
1019
|
+
resource: ['mailbox'],
|
|
1020
|
+
operation: ['hveUser'],
|
|
1021
|
+
},
|
|
1022
|
+
},
|
|
1023
|
+
default: '',
|
|
1024
|
+
placeholder: 'hve@domain.com',
|
|
1025
|
+
description: 'The primary SMTP address for the HVE user',
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
displayName: 'Password',
|
|
1029
|
+
name: 'hvePassword',
|
|
1030
|
+
type: 'string',
|
|
1031
|
+
typeOptions: { password: true },
|
|
1032
|
+
required: true,
|
|
1033
|
+
displayOptions: {
|
|
1034
|
+
show: {
|
|
1035
|
+
resource: ['mailbox'],
|
|
1036
|
+
operation: ['hveUser'],
|
|
1037
|
+
},
|
|
1038
|
+
},
|
|
1039
|
+
default: '',
|
|
1040
|
+
description: 'The password for the HVE user',
|
|
1041
|
+
},
|
|
1042
|
+
// ==================== Schedule Mailbox Vacation ====================
|
|
1043
|
+
{
|
|
1044
|
+
displayName: 'Start Date',
|
|
1045
|
+
name: 'vacationStartDate',
|
|
1046
|
+
type: 'dateTime',
|
|
1047
|
+
required: true,
|
|
1048
|
+
displayOptions: {
|
|
1049
|
+
show: {
|
|
1050
|
+
resource: ['mailbox'],
|
|
1051
|
+
operation: ['scheduleMailboxVacation'],
|
|
1052
|
+
},
|
|
1053
|
+
},
|
|
1054
|
+
default: '',
|
|
1055
|
+
description: 'The start date/time of the vacation',
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
displayName: 'End Date',
|
|
1059
|
+
name: 'vacationEndDate',
|
|
1060
|
+
type: 'dateTime',
|
|
1061
|
+
required: true,
|
|
1062
|
+
displayOptions: {
|
|
1063
|
+
show: {
|
|
1064
|
+
resource: ['mailbox'],
|
|
1065
|
+
operation: ['scheduleMailboxVacation'],
|
|
1066
|
+
},
|
|
1067
|
+
},
|
|
1068
|
+
default: '',
|
|
1069
|
+
description: 'The end date/time of the vacation',
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
displayName: 'Additional Options',
|
|
1073
|
+
name: 'vacationOptions',
|
|
1074
|
+
type: 'collection',
|
|
1075
|
+
placeholder: 'Add Option',
|
|
1076
|
+
default: {},
|
|
1077
|
+
displayOptions: {
|
|
1078
|
+
show: {
|
|
1079
|
+
resource: ['mailbox'],
|
|
1080
|
+
operation: ['scheduleMailboxVacation'],
|
|
1081
|
+
},
|
|
1082
|
+
},
|
|
1083
|
+
options: [
|
|
1084
|
+
{
|
|
1085
|
+
displayName: 'Forward To',
|
|
1086
|
+
name: 'ForwardTo',
|
|
1087
|
+
type: 'string',
|
|
1088
|
+
default: '',
|
|
1089
|
+
placeholder: 'user@domain.com',
|
|
1090
|
+
description: 'User to forward emails to during vacation',
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
displayName: 'Keep Copy',
|
|
1094
|
+
name: 'KeepCopy',
|
|
1095
|
+
type: 'boolean',
|
|
1096
|
+
default: true,
|
|
1097
|
+
description: 'Whether to keep a copy in the original mailbox',
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
displayName: 'Calendar Access User',
|
|
1101
|
+
name: 'CalendarAccessUser',
|
|
1102
|
+
type: 'string',
|
|
1103
|
+
default: '',
|
|
1104
|
+
placeholder: 'user@domain.com',
|
|
1105
|
+
description: 'User to grant calendar access to',
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
displayName: 'Calendar Permission',
|
|
1109
|
+
name: 'CalendarPermission',
|
|
1110
|
+
type: 'options',
|
|
1111
|
+
options: [
|
|
1112
|
+
{ name: 'Author', value: 'Author' },
|
|
1113
|
+
{ name: 'Editor', value: 'Editor' },
|
|
1114
|
+
{ name: 'Reviewer', value: 'Reviewer' },
|
|
1115
|
+
],
|
|
1116
|
+
default: 'Reviewer',
|
|
1117
|
+
description: 'The calendar permission level to grant',
|
|
1118
|
+
},
|
|
1119
|
+
],
|
|
1120
|
+
},
|
|
1121
|
+
// ==================== Schedule OOO Vacation ====================
|
|
1122
|
+
{
|
|
1123
|
+
displayName: 'Start Date',
|
|
1124
|
+
name: 'oooStartDate',
|
|
1125
|
+
type: 'dateTime',
|
|
1126
|
+
required: true,
|
|
1127
|
+
displayOptions: {
|
|
1128
|
+
show: {
|
|
1129
|
+
resource: ['mailbox'],
|
|
1130
|
+
operation: ['scheduleOOOVacation'],
|
|
1131
|
+
},
|
|
1132
|
+
},
|
|
1133
|
+
default: '',
|
|
1134
|
+
description: 'The start date/time for the auto-reply',
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
displayName: 'End Date',
|
|
1138
|
+
name: 'oooEndDate',
|
|
1139
|
+
type: 'dateTime',
|
|
1140
|
+
required: true,
|
|
1141
|
+
displayOptions: {
|
|
1142
|
+
show: {
|
|
1143
|
+
resource: ['mailbox'],
|
|
1144
|
+
operation: ['scheduleOOOVacation'],
|
|
1145
|
+
},
|
|
1146
|
+
},
|
|
1147
|
+
default: '',
|
|
1148
|
+
description: 'The end date/time for the auto-reply',
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
displayName: 'Internal Message',
|
|
1152
|
+
name: 'oooInternalMessage',
|
|
1153
|
+
type: 'string',
|
|
1154
|
+
typeOptions: { rows: 4 },
|
|
1155
|
+
required: true,
|
|
1156
|
+
displayOptions: {
|
|
1157
|
+
show: {
|
|
1158
|
+
resource: ['mailbox'],
|
|
1159
|
+
operation: ['scheduleOOOVacation'],
|
|
1160
|
+
},
|
|
1161
|
+
},
|
|
1162
|
+
default: '',
|
|
1163
|
+
description: 'The auto-reply message for internal recipients',
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
displayName: 'External Message',
|
|
1167
|
+
name: 'oooExternalMessage',
|
|
1168
|
+
type: 'string',
|
|
1169
|
+
typeOptions: { rows: 4 },
|
|
1170
|
+
displayOptions: {
|
|
1171
|
+
show: {
|
|
1172
|
+
resource: ['mailbox'],
|
|
1173
|
+
operation: ['scheduleOOOVacation'],
|
|
1174
|
+
},
|
|
1175
|
+
},
|
|
1176
|
+
default: '',
|
|
1177
|
+
description: 'The auto-reply message for external recipients (optional)',
|
|
1178
|
+
},
|
|
1179
|
+
// ==================== Manage Retention Policies ====================
|
|
1180
|
+
{
|
|
1181
|
+
displayName: 'Action',
|
|
1182
|
+
name: 'retentionPolicyAction',
|
|
1183
|
+
type: 'options',
|
|
1184
|
+
required: true,
|
|
1185
|
+
displayOptions: {
|
|
1186
|
+
show: {
|
|
1187
|
+
resource: ['mailbox'],
|
|
1188
|
+
operation: ['manageRetentionPolicies'],
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
options: [
|
|
1192
|
+
{ name: 'List', value: 'List' },
|
|
1193
|
+
{ name: 'Create', value: 'Create' },
|
|
1194
|
+
{ name: 'Delete', value: 'Delete' },
|
|
1195
|
+
],
|
|
1196
|
+
default: 'List',
|
|
1197
|
+
description: 'The retention policy action to perform',
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
displayName: 'Policy Name',
|
|
1201
|
+
name: 'retentionPolicyName',
|
|
1202
|
+
type: 'string',
|
|
1203
|
+
displayOptions: {
|
|
1204
|
+
show: {
|
|
1205
|
+
resource: ['mailbox'],
|
|
1206
|
+
operation: ['manageRetentionPolicies'],
|
|
1207
|
+
retentionPolicyAction: ['Create', 'Delete'],
|
|
1208
|
+
},
|
|
1209
|
+
},
|
|
1210
|
+
default: '',
|
|
1211
|
+
description: 'The name of the retention policy',
|
|
1212
|
+
},
|
|
1213
|
+
// ==================== Manage Retention Tags ====================
|
|
1214
|
+
{
|
|
1215
|
+
displayName: 'Action',
|
|
1216
|
+
name: 'retentionTagAction',
|
|
1217
|
+
type: 'options',
|
|
1218
|
+
required: true,
|
|
1219
|
+
displayOptions: {
|
|
1220
|
+
show: {
|
|
1221
|
+
resource: ['mailbox'],
|
|
1222
|
+
operation: ['manageRetentionTags'],
|
|
1223
|
+
},
|
|
1224
|
+
},
|
|
1225
|
+
options: [
|
|
1226
|
+
{ name: 'List', value: 'List' },
|
|
1227
|
+
{ name: 'Create', value: 'Create' },
|
|
1228
|
+
{ name: 'Delete', value: 'Delete' },
|
|
1229
|
+
],
|
|
1230
|
+
default: 'List',
|
|
1231
|
+
description: 'The retention tag action to perform',
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
displayName: 'Tag Name',
|
|
1235
|
+
name: 'retentionTagName',
|
|
1236
|
+
type: 'string',
|
|
1237
|
+
displayOptions: {
|
|
1238
|
+
show: {
|
|
1239
|
+
resource: ['mailbox'],
|
|
1240
|
+
operation: ['manageRetentionTags'],
|
|
1241
|
+
retentionTagAction: ['Create', 'Delete'],
|
|
1242
|
+
},
|
|
1243
|
+
},
|
|
1244
|
+
default: '',
|
|
1245
|
+
description: 'The name of the retention tag',
|
|
1246
|
+
},
|
|
1247
|
+
// ==================== Set Mailbox Retention Policy ====================
|
|
1248
|
+
{
|
|
1249
|
+
displayName: 'Retention Policy Name',
|
|
1250
|
+
name: 'retentionPolicyToSet',
|
|
1251
|
+
type: 'string',
|
|
1252
|
+
required: true,
|
|
1253
|
+
displayOptions: {
|
|
1254
|
+
show: {
|
|
1255
|
+
resource: ['mailbox'],
|
|
1256
|
+
operation: ['setMailboxRetentionPolicies'],
|
|
1257
|
+
},
|
|
1258
|
+
},
|
|
1259
|
+
default: '',
|
|
1260
|
+
description: 'The name of the retention policy to assign to the mailbox',
|
|
1261
|
+
},
|
|
174
1262
|
];
|
|
175
1263
|
//# sourceMappingURL=MailboxDescription.js.map
|