Skip to content

Commit

Permalink
Updated the intellisense.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed Dec 13, 2024
1 parent ac54e80 commit e621c56
Show file tree
Hide file tree
Showing 6 changed files with 131 additions and 77 deletions.
2 changes: 1 addition & 1 deletion dist/gd-sprest.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gd-sprest",
"version": "8.5.7",
"version": "8.5.8",
"description": "An easy way to develop against the SharePoint REST API.",
"author": "Gunjan Datta <[email protected]> (https://gunjandatta.github.io)",
"license": "MIT",
Expand All @@ -24,7 +24,7 @@
},
"homepage": "https://dattabase.com",
"dependencies": {
"gd-sprest-def": "^1.5.8"
"gd-sprest-def": "1.6.9"
},
"devDependencies": {
"@babel/core": "^7.18.10",
Expand Down
138 changes: 111 additions & 27 deletions src/mapper/def.ts
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,10 @@ export const Mapper: IMapper = {
argNames: ["reportId"],
},

getSPODataAccessGovernanceInsightV2: {
argNames: ["reportEntity"],
},

removeDataAccessGovernanceReport: {
argNames: ["reportId"],
},
Expand All @@ -940,6 +944,10 @@ export const Mapper: IMapper = {
argNames: ["source"],
},

updateScriptSources: {
argNames: ["added", "removed"],
},

},

"Microsoft.Online.SharePoint.TenantAdministration.SPOGroup": {
Expand Down Expand Up @@ -1114,9 +1122,6 @@ export const Mapper: IMapper = {
argNames: ["cdnType", "libUrl", "thumbnailUrl", "orgAssetType", "defaultOriginAdded", "configParam"],
},

appHasAdminSitePermission: {
},

archiveSiteById: {
argNames: ["siteId"],
},
Expand Down Expand Up @@ -1411,6 +1416,9 @@ export const Mapper: IMapper = {
argNames: ["segments"],
},

getTenantSendFromAddress: {
},

getTenantSiteCreationSource: {
},

Expand Down Expand Up @@ -1780,11 +1788,11 @@ export const Mapper: IMapper = {
},

updateRansomwareActivity: {
argNames: ["listItemId", "columnValues"],
argNames: ["listItemId", "columnValues", "category"],
},

updateRansomwareEvent: {
argNames: ["listItemId", "columnValues", "forceResolveActivity"],
argNames: ["listItemId", "columnValues", "forceResolveActivity", "category"],
},

updateSPOContainerUserRole: {
Expand Down Expand Up @@ -2048,15 +2056,20 @@ export const Mapper: IMapper = {
argNames: ["lockRequestor", "lockType", "leaseDurationInMinutes"],
},

clearState: {
clearSiteRelocationMarker: {
},

extendSystemSiteLockExpiration: {
argNames: ["leaseDurationInMinute"],
},

getChecksumForTable: {
argNames: ["schemaName", "tableName", "partitionColumnName", "columnsToChecksum"],
getCPSChangeToken: {
},

getCPSSiteDeleteReason: {
},

getDataChunks: {
},

getDataReader: {
Expand All @@ -2069,8 +2082,19 @@ export const Mapper: IMapper = {
getMarker: {
},

getRowCountForTable: {
argNames: ["schemaName", "tableName", "partitionColumnName"],
getEventCacheDataChunk: {
argNames: ["lastCopiedId", "searchChangeToken"],
},

getEventCacheExColumns: {
},

getEventCacheExDataChunk: {
argNames: ["lastCopiedId"],
},

getEventCacheIds: {
argNames: ["lastCopiedId"],
},

getScalarValue: {
Expand All @@ -2086,24 +2110,42 @@ export const Mapper: IMapper = {
getTenantWorkflows: {
},

getValidationChunks: {
},

isDbReadOnly: {
},

isSystemSiteLocked: {
argNames: ["lockRequestor"],
},

lockSite: {
},

pauseCrawling: {
argNames: ["originalCPSDeleteReason"],
},

processStorageMetricsChanges: {
},

releaseSystemSiteLock: {
argNames: ["lockRequestor"],
},

resumeCrawling: {
argNames: ["originalCPSDeleteReason"],
},

sourceCleanupAfterMove: {
argNames: ["isDeleted"],
},

unlockSiteOnFailure: {
argNames: ["originalLockFlags"],
},

},

"Microsoft.SharePoint.Administration.SiteMove.Service.SiteRelocationJobManagementService": {
Expand Down Expand Up @@ -2332,7 +2374,10 @@ export const Mapper: IMapper = {
},

isDoclibContributorOwnerEnabled: {
}
},

isSuspended: {
},
},

"Microsoft.SharePoint.Convergence.OdcMetadataCleanedUpApi": {
Expand Down Expand Up @@ -2402,6 +2447,12 @@ export const Mapper: IMapper = {

},

"Microsoft.SharePoint.IdentityModel.SPAllOrgSGManager": {
createAllOrgSecurityGroup: {
},

},

"Microsoft.SharePoint.Insights.SPTenantIBInsightsReportManager": {
createReport: {
},
Expand Down Expand Up @@ -2631,6 +2682,10 @@ export const Mapper: IMapper = {

delete: { requestType: RequestType.Delete },

file: {
argNames: ["folderName", "fileName", "file", "overwrite"],
},

parseUrl: {
argNames: ["destinationUrl", "retrieveAllLists", "retrieveFoldersForAllLists", "forceMySiteDefaultList", "migrationType"],
},
Expand Down Expand Up @@ -4561,6 +4616,10 @@ export const Mapper: IMapper = {
argNames: ["themeData"],
},

validateSiteThemeName: {
argNames: ["name"],
},

validateTenantThemeName: {
argNames: ["name"],
},
Expand Down Expand Up @@ -6659,11 +6718,6 @@ export const Mapper: IMapper = {
requestType: RequestType.PostWithArgsInBody
},

createRule: {
argNames: ["condition", "outcome", "title", "triggerType", "emailField", "actionType", "ruleTemplateId"],
requestType: RequestType.PostWithArgsInBody
},

createRuleEx: {
argNames: ["condition", "title", "triggerType", "action", "ruleTemplateId"],
requestType: RequestType.PostWithArgsInBody
Expand Down Expand Up @@ -7019,10 +7073,6 @@ export const Mapper: IMapper = {
argNames: ["retentionLabel", "linkedList"],
},

updateRule: {
argNames: ["ruleId", "condition", "outcome", "title", "emailField", "status", "actionType", "triggerType"],
},

updateRuleEx: {
argNames: ["ruleId", "condition", "title", "status", "action", "triggerType"],
},
Expand Down Expand Up @@ -7738,6 +7788,10 @@ export const Mapper: IMapper = {
demoteFromNews: {
},

discardCoAuth: {
argNames: ["lockId"],
},

discardPage: {
},

Expand Down Expand Up @@ -7778,6 +7832,10 @@ export const Mapper: IMapper = {
publish: {
},

publishAsBot: {
argNames: ["tenantId", "channelIds", "message"],
},

publishCoAuth: {
argNames: ["pageStream"],
},
Expand Down Expand Up @@ -7828,7 +7886,7 @@ export const Mapper: IMapper = {
},

saveStreams: {
argNames: ["contentStream"],
argNames: ["contentStream", "sharedLockId"],
},

schedulePublication: {
Expand Down Expand Up @@ -7874,6 +7932,9 @@ export const Mapper: IMapper = {
argNames: ["destinationSiteId", "destinationUrl", "sharePointPublishingStatus", "sharePointPublishingErrorCode"],
},

validate: {
},

},

"SP.Publishing.CommunicationSite": {
Expand Down Expand Up @@ -7929,6 +7990,10 @@ export const Mapper: IMapper = {
requestType: RequestType.Post
},

discardCoAuth: {
argNames: ["lockId"],
},

discardPage: {
},

Expand Down Expand Up @@ -7991,7 +8056,7 @@ export const Mapper: IMapper = {
},

saveStreams: {
argNames: ["contentStream"],
argNames: ["contentStream", "sharedLockId"],
},

schedulePublish: {
Expand Down Expand Up @@ -8210,6 +8275,10 @@ export const Mapper: IMapper = {
requestType: RequestType.Post
},

discardCoAuth: {
argNames: ["lockId"],
},

discardPage: {
},

Expand Down Expand Up @@ -8272,7 +8341,7 @@ export const Mapper: IMapper = {
},

saveStreams: {
argNames: ["contentStream"],
argNames: ["contentStream", "sharedLockId"],
},

schedulePublish: {
Expand Down Expand Up @@ -8388,6 +8457,10 @@ export const Mapper: IMapper = {
requestType: RequestType.Post
},

discardCoAuth: {
argNames: ["lockId"],
},

discardPage: {
requestType: RequestType.Post
},
Expand Down Expand Up @@ -8461,7 +8534,7 @@ export const Mapper: IMapper = {
},

saveStreams: {
argNames: ["contentStream"],
argNames: ["contentStream", "sharedLockId"],
},

schedulePublish: {
Expand Down Expand Up @@ -8603,6 +8676,10 @@ export const Mapper: IMapper = {
requestType: RequestType.Post
},

discardCoAuth: {
argNames: ["lockId"],
},

discardPage: {
},

Expand Down Expand Up @@ -8665,7 +8742,7 @@ export const Mapper: IMapper = {
},

saveStreams: {
argNames: ["contentStream"],
argNames: ["contentStream", "sharedLockId"],
},

schedulePublish: {
Expand Down Expand Up @@ -8733,6 +8810,9 @@ export const Mapper: IMapper = {
canCreatePromotedPage: {
},

enableAmplifyFromAnywhere: {
},

enableAnnouncements: {
},

Expand Down Expand Up @@ -8855,6 +8935,10 @@ export const Mapper: IMapper = {
requestType: RequestType.Post
},

discardCoAuth: {
argNames: ["lockId"],
},

discardPage: {
},

Expand Down Expand Up @@ -8917,7 +9001,7 @@ export const Mapper: IMapper = {
},

saveStreams: {
argNames: ["contentStream"],
argNames: ["contentStream", "sharedLockId"],
},

schedulePublish: {
Expand Down Expand Up @@ -11217,7 +11301,7 @@ export const Mapper: IMapper = {
},

setChromeOptions: {
argNames: ["headerLayout", "headerEmphasis", "megaMenuEnabled", "footerEnabled", "footerLayout", "footerEmphasis", "hideTitleInHeader", "logoAlignment", "horizontalQuickLaunch"],
argNames: ["headerLayout", "headerEmphasis", "megaMenuEnabled", "footerEnabled", "footerLayout", "footerEmphasis", "hideTitleInHeader", "logoAlignment", "horizontalQuickLaunch", "headerColorIndexInLightMode", "headerColorIndexInDarkMode", "footerColorIndexInLightMode", "footerColorIndexInDarkMode"],
requestType: RequestType.PostWithArgs
},

Expand Down
Loading

0 comments on commit e621c56

Please sign in to comment.