@pnp/sp-admin 3.4.1-v3nightly.20220708

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/tenant.js ADDED
@@ -0,0 +1,528 @@
1
+ import { __decorate } from "tslib";
2
+ // import { body } from "@pnp/queryable";
3
+ import { body, BufferParse } from "@pnp/queryable";
4
+ import { _SPInstance, defaultPath, spInvokableFactory, spPost } from "@pnp/sp";
5
+ let _Tenant = class _Tenant extends _SPInstance {
6
+ /**
7
+ * Choose which fields to return
8
+ *
9
+ * @param selects One or more fields to return
10
+ * @description we limit the selects here because there are so many values possible and it improves discoverability.
11
+ * Unfortunately this doesn't work as a general solution due to expands
12
+ */
13
+ select(...selects) {
14
+ return super.select(...selects);
15
+ }
16
+ /**
17
+ * Returns a site object for the given URL
18
+ *
19
+ * @param url URL of the requested site object
20
+ * @param includeDetail true to include details
21
+ * @returns Returns a site object for the given URL
22
+ */
23
+ getSitePropertiesByUrl(url, includeDetail = false) {
24
+ return spPost(Tenant(this, "GetSitePropertiesByUrl"), body({
25
+ url,
26
+ includeDetail,
27
+ }));
28
+ }
29
+ /**
30
+ * Gets SPOSiteProperties objects for all sites from SharePoint in the tenancy that match the filter expression
31
+ *
32
+ * @param speFilter If the filter is null or empty string, then all the sites are returned
33
+ */
34
+ getSitePropertiesFromSharePointByFilters(speFilter) {
35
+ return spPost(Tenant(this, "GetSitePropertiesFromSharePointByFilters"), body({
36
+ speFilter,
37
+ }));
38
+ }
39
+ /**
40
+ * Get whether this tenant has valid education license
41
+ */
42
+ hasValidEducationLicense() {
43
+ return spPost(Tenant(this, "HasValidEducationLicense"));
44
+ }
45
+ /**
46
+ * Queues a site collection for creation with the given properties
47
+ *
48
+ * @param siteCreationProperties The initial properties for the site which is to be created
49
+ * @returns Queues a site collection for creation with the given properties
50
+ */
51
+ createSite(siteCreationProperties) {
52
+ return spPost(Tenant(this, "CreateSite"), body({
53
+ siteCreationProperties,
54
+ }));
55
+ }
56
+ /**
57
+ * Gets all the SPWebTemplates on this Tenant
58
+ *
59
+ * @returns An SPOWebTemplateCollection containing a SPOWebTemplate information for each template
60
+ */
61
+ getSPOTenantAllWebTemplates() {
62
+ return spPost(Tenant(this, "GetSPOTenantAllWebTemplates"));
63
+ }
64
+ /**
65
+ * Handles updating the properties based on updateType of all the sites which are part of the groupId
66
+ *
67
+ * @param groupId Group Id
68
+ * @param siteId Site Id
69
+ * @param updateType Property which is required to be updated
70
+ * @param UpdateGroupSitePropertiesParameters
71
+ * @param parameters Params which are required to be passed based on the updateType
72
+ * @returns string denoting the user storage key which can be used by client to pull the async workflow status
73
+ */
74
+ // eslint-disable-next-line max-len
75
+ updateGroupSiteProperties(groupId, siteId, updateType, parameters = {}) {
76
+ return spPost(Tenant(this, "UpdateGroupSiteProperties"), body({
77
+ groupId,
78
+ siteId,
79
+ updateType,
80
+ parameters,
81
+ }));
82
+ }
83
+ /**
84
+ * Gets all the site collection templates available in SPO for the given UI culture
85
+ *
86
+ * @returns An SPOWebTemplateCollection for all the site collection templates available in SPO for the given UI culture.
87
+ */
88
+ getSPOAllWebTemplates(cultureName, compatibilityLevel) {
89
+ return spPost(Tenant(this, "GetSPOAllWebTemplates"), body({
90
+ cultureName,
91
+ compatibilityLevel,
92
+ }));
93
+ }
94
+ /**
95
+ * Gets all the SPWebTemplates for site collections on this Tenant
96
+ *
97
+ * @returns An SPOWebTemplateCollection for all the site collection templates available in SPO for the given UI culture.
98
+ */
99
+ getSPOTenantWebTemplates(localeId, compatibilityLevel) {
100
+ return spPost(Tenant(this, "GetSPOTenantWebTemplates"), body({
101
+ localeId,
102
+ compatibilityLevel,
103
+ }));
104
+ }
105
+ /**
106
+ * Returns the site header logo by site URL.
107
+ *
108
+ * @param siteUrl Absolute URL to the site
109
+ * @returns Stream containing the site logo data
110
+ */
111
+ getSiteThumbnailLogo(siteUrl) {
112
+ return spPost(Tenant(this, "GetSiteThumbnailLogo").using(BufferParse()), body({
113
+ siteUrl,
114
+ }));
115
+ }
116
+ /**
117
+ * Gets all the SPSiteCreationSources
118
+ */
119
+ getSPOSiteCreationSources() {
120
+ return spPost(Tenant(this, "GetSPOSiteCreationSources"));
121
+ }
122
+ /**
123
+ * Deletes the site to the recycle bin
124
+ *
125
+ * @param siteUrl Absolute url of the site to remove
126
+ */
127
+ removeSite(siteUrl) {
128
+ return spPost(Tenant(this, "RemoveSite"), body({
129
+ siteUrl,
130
+ }));
131
+ }
132
+ /**
133
+ * Gets the health Status of the site
134
+ *
135
+ * @param sourceUrl Absolute url of the site
136
+ */
137
+ getSiteHealthStatus(sourceUrl) {
138
+ return spPost(Tenant(this, "GetSiteHealthStatus"), body({
139
+ sourceUrl,
140
+ }));
141
+ }
142
+ /**
143
+ * Performs the Swap operation on the provided sites
144
+ */
145
+ swapSiteWithSmartGestureOptionForce(sourceUrl, targetUrl, archiveUrl, includeSmartGestures, force) {
146
+ return spPost(Tenant(this, "SwapSiteWithSmartGestureOptionForce"), body({
147
+ sourceUrl,
148
+ targetUrl,
149
+ archiveUrl,
150
+ includeSmartGestures,
151
+ force,
152
+ }));
153
+ }
154
+ /**
155
+ * Performs the Swap operation on the provided sites
156
+ */
157
+ swapSiteWithSmartGestureOption(sourceUrl, targetUrl, archiveUrl, includeSmartGestures) {
158
+ return spPost(Tenant(this, "SwapSiteWithSmartGestureOption"), body({
159
+ sourceUrl,
160
+ targetUrl,
161
+ archiveUrl,
162
+ includeSmartGestures,
163
+ }));
164
+ }
165
+ /**
166
+ * Performs the Swap operation on the provided sites
167
+ */
168
+ swapSite(sourceUrl, targetUrl, archiveUrl) {
169
+ return spPost(Tenant(this, "SwapSite"), body({
170
+ sourceUrl,
171
+ targetUrl,
172
+ archiveUrl,
173
+ }));
174
+ }
175
+ /**
176
+ * Permanently deletes the site from the recycle bin
177
+ *
178
+ * @param siteUrl URL of the site to be deleted
179
+ */
180
+ removeDeletedSite(siteUrl) {
181
+ return spPost(Tenant(this, "RemoveDeletedSite"), body({
182
+ siteUrl,
183
+ }));
184
+ }
185
+ /**
186
+ * Permanently deletes the site from the recycle bin
187
+ *
188
+ * @param siteUrl URL of the site to be deleted
189
+ * @param siteId SiteID of the site to be deleted
190
+ */
191
+ removeDeletedSitePreferId(siteUrl, siteId) {
192
+ return spPost(Tenant(this, "RemoveDeletedSitePreferId"), body({
193
+ siteUrl,
194
+ siteId,
195
+ }));
196
+ }
197
+ /**
198
+ * Restores site from deleted state (recycle bin)
199
+ *
200
+ * @param siteUrl URL of the site to be restored
201
+ */
202
+ restoreDeletedSite(siteUrl) {
203
+ return spPost(Tenant(this, "RestoreDeletedSite"), body({
204
+ siteUrl,
205
+ }));
206
+ }
207
+ /**
208
+ * Restores site from deleted state (recycle bin)
209
+ *
210
+ * @param siteId SiteID of the site to be restored
211
+ */
212
+ restoreDeletedSiteById(siteId) {
213
+ return spPost(Tenant(this, "RestoreDeletedSiteById"), body({
214
+ siteId,
215
+ }));
216
+ }
217
+ /**
218
+ * Restores site from deleted state (recycle bin)
219
+ *
220
+ * @param siteUrl URL of the site to be restored
221
+ * @param siteId SiteID of the site to be deleted
222
+ */
223
+ restoreDeletedSitePreferId(siteUrl, siteId) {
224
+ return spPost(Tenant(this, "RestoreDeletedSitePreferId"), body({
225
+ siteUrl,
226
+ siteId,
227
+ }));
228
+ }
229
+ /**
230
+ * A collection of PowerApps environments
231
+ */
232
+ getPowerAppsEnvironments() {
233
+ return spPost(Tenant(this, "GetPowerAppsEnvironments"));
234
+ }
235
+ /**
236
+ * Sets the configuration values for Idle session sign out for unmanaged devices
237
+ * @param enabled Boolean indicating if the policy should be enabled
238
+ * @param warnAfter TimeSpan containing the time before warning the user
239
+ * @param signOutAfter TimeSpan containing the time before signing out the user
240
+ * @returns True if the operation succeeds, false otherwise
241
+ */
242
+ setIdleSessionSignOutForUnmanagedDevices(enabled, warnAfter, signOutAfter) {
243
+ return spPost(Tenant(this, "SetIdleSessionSignOutForUnmanagedDevices"), body({
244
+ enabled,
245
+ warnAfter,
246
+ signOutAfter,
247
+ }));
248
+ }
249
+ /**
250
+ * Gets the configuration values for Idle session sign out for unmanaged devices
251
+ */
252
+ getIdleSessionSignOutForUnmanagedDevices() {
253
+ return spPost(Tenant(this, "GetIdleSessionSignOutForUnmanagedDevices"));
254
+ }
255
+ /**
256
+ * RESTful API to export SPList to CSV file and return file download link
257
+ *
258
+ * @param viewXml XML of the export view
259
+ */
260
+ exportToCSV(viewXml) {
261
+ return spPost(Tenant(this, "ExportToCSV"), body({
262
+ viewXml,
263
+ }));
264
+ }
265
+ /**
266
+ * RESTful API to export SPList to CSV file and return file download link
267
+ *
268
+ * @param viewXml XML of the export view
269
+ * @param listName Name of Admin SPList to be exported
270
+ */
271
+ exportAdminListToCSV(viewXml, listName) {
272
+ return spPost(Tenant(this, "ExportAdminListToCSV"), body({
273
+ viewXml,
274
+ listName,
275
+ }));
276
+ }
277
+ /**
278
+ * RESTful API to set site's user groups
279
+ *
280
+ */
281
+ setSiteUserGroups(siteUserGroupsData) {
282
+ return spPost(Tenant(this, "SetSiteUserGroups"), body({
283
+ siteUserGroupsData,
284
+ }));
285
+ }
286
+ /**
287
+ * RESTful API to set site administrators
288
+ */
289
+ setSiteAdministrators(siteAdministratorsFieldsData) {
290
+ return spPost(Tenant(this, "SetSiteAdministrators"), body({
291
+ siteAdministratorsFieldsData,
292
+ }));
293
+ }
294
+ /**
295
+ * RESTful API to check tenant licenses.
296
+ *
297
+ * @returns True if and only if tenant has all licenses in parameter
298
+ */
299
+ checkTenantLicenses(licenses) {
300
+ return spPost(Tenant(this, "CheckTenantLicenses"), body({
301
+ licenses,
302
+ }));
303
+ }
304
+ /**
305
+ * RESTful API to check tenant intune license
306
+ */
307
+ checkTenantIntuneLicense() {
308
+ return spPost(Tenant(this, "CheckTenantIntuneLicense"));
309
+ }
310
+ /**
311
+ * Gets a list of site administrators for the given site
312
+ *
313
+ * @param siteId guid site id
314
+ * @returns Array of site admins
315
+ */
316
+ getSiteAdministrators(siteId) {
317
+ return spPost(Tenant(this, "GetSiteAdministrators"), body({
318
+ siteId,
319
+ }));
320
+ }
321
+ /**
322
+ * Renders Tenant Admin SPList Data after filtering based on the groupId the site belongs to
323
+ *
324
+ * @param groupId Group Id the sites belong to
325
+ */
326
+ renderFilteredAdminListDataByGroupId(groupId) {
327
+ return spPost(Tenant(this, "RenderFilteredAdminListDataByGroupId").using(BufferParse()), body({
328
+ groupId,
329
+ }));
330
+ }
331
+ /**
332
+ * Renders Tenant Admin SPList Data
333
+ */
334
+ renderAdminListData(listName, parameters, overrideParameters = null) {
335
+ return spPost(Tenant(this, "RenderAdminListData").using(BufferParse()), body({
336
+ parameters,
337
+ overrideParameters,
338
+ listName,
339
+ }));
340
+ }
341
+ /**
342
+ * Renders Tenant Admin SPList Data after filtering based on filter conditions
343
+ */
344
+ renderFilteredAdminListData(listName, parameters) {
345
+ return spPost(Tenant(this, "RenderFilteredAdminListData").using(BufferParse()), body({
346
+ parameters,
347
+ listName,
348
+ }));
349
+ }
350
+ /**
351
+ * Gets SPList total item Count
352
+ *
353
+ * @param listName Optional List Name. By Default Aggregated TenantAdmin SPList will be used
354
+ * @returns List item count
355
+ */
356
+ getSPListItemCount(listName) {
357
+ return spPost(Tenant(this, "GetSPListItemCount"), body({
358
+ listName,
359
+ }));
360
+ }
361
+ /**
362
+ * Registers the site with the specified URL as a HubSite
363
+ *
364
+ * @param siteUrl The URL of the site to make into a HubSite
365
+ * @returns The properties of the new HubSite
366
+ */
367
+ registerHubSite(siteUrl) {
368
+ return spPost(Tenant(this, "RegisterHubSite"), body({
369
+ siteUrl,
370
+ }));
371
+ }
372
+ /**
373
+ * Registers the site with the specified URL as a HubSite
374
+ *
375
+ * @param siteUrl The URL of the site to make into a HubSite
376
+ * @param creationInformation Information used to create this HubSite, If not specified, some default properties will be set instead
377
+ * @returns The properties of the new HubSite
378
+ */
379
+ registerHubSiteWithCreationInformation(siteUrl, creationInformation = null) {
380
+ return spPost(Tenant(this, "RegisterHubSiteWithCreationInformation"), body({
381
+ siteUrl,
382
+ creationInformation,
383
+ }));
384
+ }
385
+ /**
386
+ * Makes the specified site no longer a HubSite and removes it from the list of HubSites The site is not deleted by this operation;
387
+ * it is merely removed from the list of available HubSites
388
+ *
389
+ * @param siteUrl The URL of the site which should no longer be a HubSite
390
+ */
391
+ unregisterHubSite(siteUrl) {
392
+ return spPost(Tenant(this, "UnregisterHubSite"), body({
393
+ siteUrl,
394
+ }));
395
+ }
396
+ /**
397
+ * Connects a site to a HubSite using hub site id, support multi-geo
398
+ *
399
+ * @param siteUrl URL of the site to connect to the HubSite
400
+ * @param hubSiteId Guid of the HubSite ID
401
+ */
402
+ connectSiteToHubSiteById(siteUrl, hubSiteId) {
403
+ return spPost(Tenant(this, "ConnectSiteToHubSiteById"), body({
404
+ siteUrl,
405
+ hubSiteId,
406
+ }));
407
+ }
408
+ /**
409
+ * Grant HubSite rights to users giving HubSite ID, support multi-geo
410
+ *
411
+ * @param hubSiteId ID of the HubSite
412
+ * @param principals principals of users to grant rights
413
+ * @param grantedRights The HubSite rights to grant
414
+ */
415
+ grantHubSiteRightsById(hubSiteId, principals, grantedRights) {
416
+ return spPost(Tenant(this, "GrantHubSiteRightsById"), body({
417
+ hubSiteId,
418
+ principals,
419
+ grantedRights,
420
+ }));
421
+ }
422
+ /**
423
+ * Revoke HubSite rights from users giving HubSite ID, support multi-geo
424
+ *
425
+ * @param hubSiteId ID of the HubSite
426
+ * @param principals principals of users to revoke rights
427
+ */
428
+ revokeHubSiteRightsById(hubSiteId, principals) {
429
+ return spPost(Tenant(this, "RevokeHubSiteRightsById"), body({
430
+ hubSiteId,
431
+ principals,
432
+ }));
433
+ }
434
+ /**
435
+ * Get the home site Ids, url and site title
436
+ *
437
+ * @param bypasscache bypass tenant store cache
438
+ * @param expandDetails call the expensive API with cross geo call to fill siteUrl and site title
439
+ */
440
+ getHomeSitesDetails(bypasscache = false, expandDetails = false) {
441
+ const q = Tenant(this, "GetHomeSitesDetails");
442
+ if (bypasscache) {
443
+ q.query.set("bypasscache", "true");
444
+ }
445
+ if (expandDetails) {
446
+ q.query.set("expandDetails", "true");
447
+ }
448
+ return spPost(q);
449
+ }
450
+ /**
451
+ * Add a new home site in tenant admin setting
452
+ *
453
+ * @param homeSiteUrl The home site URL
454
+ * @param audiences The targeting audiences
455
+ * @param order The rank order of this home site. The order starts at 1, defaults to end of order if not provided
456
+ * @returns Details about ID, title, URL from the adding home site
457
+ */
458
+ addHomeSite(homeSiteUrl, audiences, order) {
459
+ return spPost(Tenant(this, "AddHomeSite"), body({
460
+ homeSiteUrl,
461
+ audiences,
462
+ order,
463
+ }));
464
+ }
465
+ /**
466
+ * Update the home site with specific URL for its audiences
467
+ *
468
+ * @param homeSiteUrl The home site URL
469
+ * @param audiences The targeting audiences
470
+ * @param order The rank order of this home site. The order starts at 1, defaults to end of order if not provided
471
+ * @returns Details about ID, title, URL from the adding home site
472
+ */
473
+ updateHomeSite(homeSiteUrl, audiences, order) {
474
+ return spPost(Tenant(this, "UpdateHomeSite"), body({
475
+ homeSiteUrl,
476
+ audiences,
477
+ order,
478
+ }));
479
+ }
480
+ /**
481
+ * Reorder the rank of all home sites in tenant admin setting
482
+ *
483
+ * @param homeSitesSiteIds All home sites siteId with new order
484
+ * @returns Details about siteId and webId from all home sites in a new order
485
+ */
486
+ reorderHomeSites(homeSitesSiteIds) {
487
+ return spPost(Tenant(this, "ReorderHomeSites"), body({
488
+ homeSitesSiteIds,
489
+ }));
490
+ }
491
+ /**
492
+ * Remove a home site in tenant admin setting
493
+ *
494
+ * @param homeSiteUrl The home site URL
495
+ */
496
+ removeHomeSite(homeSiteUrl) {
497
+ return spPost(Tenant(this, "RemoveHomeSite"), body({
498
+ homeSiteUrl,
499
+ }));
500
+ }
501
+ /**
502
+ * Get site subscription id
503
+ */
504
+ getSiteSubscriptionId() {
505
+ return spPost(Tenant(this, "GetSiteSubscriptionId"));
506
+ }
507
+ /**
508
+ * Supports calling POST methods not added explicitly to this class
509
+ *
510
+ * @param method method name, used in url path (ex: "CreateGroupForSite")
511
+ * @param args optional, any arguments to include in the body
512
+ * @returns The result of the method invocation T
513
+ */
514
+ call(method, args) {
515
+ const query = Tenant(this, method);
516
+ if (typeof args !== "undefined") {
517
+ return spPost(query, body(args));
518
+ }
519
+ else {
520
+ return spPost(query);
521
+ }
522
+ }
523
+ };
524
+ _Tenant = __decorate([
525
+ defaultPath("_api/SPO.Tenant")
526
+ ], _Tenant);
527
+ export const Tenant = spInvokableFactory(_Tenant);
528
+ //# sourceMappingURL=tenant.js.map
package/tenant.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../../packages/sp-admin/tenant.ts"],"names":[],"mappings":";AAAA,yCAAyC;AACzC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAuB/E,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,WAAwB;IAE1C;;;;;;MAME;IACK,MAAM,CAAC,GAAG,OAAoC;QACjD,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC;IACpC,CAAC;IAED;;;;;;OAMG;IACI,sBAAsB,CAAC,GAAW,EAAE,aAAa,GAAG,KAAK;QAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,EAAE,IAAI,CAAC;YACvD,GAAG;YACH,aAAa;SAChB,CAAC,CAAC,CAAC;IACR,CAAC;IAED;;;;OAIG;IACI,wCAAwC,CAAC,SAAiE;QAC7G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,0CAA0C,CAAC,EAAE,IAAI,CAAC;YACzE,SAAS;SACZ,CAAC,CAAC,CAAC;IACR,CAAC;IAED;;OAEG;IACI,wBAAwB;QAC3B,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC,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