@microsoft/msgraph-sdk-sites 1.0.0-preview.20 → 1.0.0-preview.22
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/package.json +3 -3
- package/sites/delta/index.d.ts +4 -3
- package/sites/delta/index.d.ts.map +1 -1
- package/sites/getAllSites/index.d.ts +4 -3
- package/sites/getAllSites/index.d.ts.map +1 -1
- package/sites/index.d.ts +4 -4
- package/sites/item/analytics/allTime/index.d.ts +3 -4
- package/sites/item/analytics/allTime/index.d.ts.map +1 -1
- package/sites/item/columns/index.d.ts +5 -5
- package/sites/item/contentTypes/addCopy/index.d.ts +2 -2
- package/sites/item/contentTypes/getCompatibleHubContentTypes/index.d.ts +4 -3
- package/sites/item/contentTypes/getCompatibleHubContentTypes/index.d.ts.map +1 -1
- package/sites/item/contentTypes/index.d.ts +5 -5
- package/sites/item/contentTypes/item/associateWithHubSites/index.d.ts +2 -2
- package/sites/item/contentTypes/item/columns/index.d.ts +5 -5
- package/sites/item/contentTypes/item/columns/item/index.d.ts +7 -7
- package/sites/item/contentTypes/item/copyToDefaultContentLocation/index.d.ts +2 -2
- package/sites/item/contentTypes/item/index.d.ts +7 -7
- package/sites/item/contentTypes/item/isPublished/index.d.ts +3 -2
- package/sites/item/contentTypes/item/isPublished/index.d.ts.map +1 -1
- package/sites/item/contentTypes/item/publish/index.d.ts +2 -2
- package/sites/item/contentTypes/item/unpublish/index.d.ts +2 -2
- package/sites/item/getApplicableContentTypesForListWithListId/index.d.ts +4 -3
- package/sites/item/getApplicableContentTypesForListWithListId/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/columns/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/columns/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/contentTypes/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/contentTypes/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getApplicableContentTypesForListWithListId/index.d.ts +4 -3
- package/sites/item/getByPathWithPath/getApplicableContentTypesForListWithListId/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/columns/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/getByPathWithPath1/columns/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/contentTypes/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/getByPathWithPath1/contentTypes/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/lists/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/getByPathWithPath1/lists/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/operations/index.d.ts +3 -4
- package/sites/item/getByPathWithPath/getByPathWithPath1/operations/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/permissions/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/getByPathWithPath1/permissions/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/sites/index.d.ts +3 -4
- package/sites/item/getByPathWithPath/getByPathWithPath1/sites/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/getByPathWithPath1/termStore/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/getByPathWithPath1/termStore/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/lists/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/lists/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/operations/index.d.ts +3 -4
- package/sites/item/getByPathWithPath/operations/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/pages/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/pages/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/permissions/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/permissions/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/sites/index.d.ts +3 -4
- package/sites/item/getByPathWithPath/sites/index.d.ts.map +1 -1
- package/sites/item/getByPathWithPath/termStore/index.d.ts +5 -7
- package/sites/item/getByPathWithPath/termStore/index.d.ts.map +1 -1
- package/sites/item/index.d.ts +3 -3
- package/sites/item/lists/index.d.ts +5 -5
- package/sites/item/lists/item/columns/index.d.ts +5 -5
- package/sites/item/lists/item/contentTypes/addCopy/index.d.ts +2 -2
- package/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/index.d.ts +4 -3
- package/sites/item/lists/item/contentTypes/getCompatibleHubContentTypes/index.d.ts.map +1 -1
- package/sites/item/lists/item/contentTypes/index.d.ts +3 -3
- package/sites/item/lists/item/contentTypes/item/associateWithHubSites/index.d.ts +2 -2
- package/sites/item/lists/item/contentTypes/item/columns/index.d.ts +5 -7
- package/sites/item/lists/item/contentTypes/item/columns/index.d.ts.map +1 -1
- package/sites/item/lists/item/contentTypes/item/columns/item/index.d.ts +7 -10
- package/sites/item/lists/item/contentTypes/item/columns/item/index.d.ts.map +1 -1
- package/sites/item/lists/item/contentTypes/item/copyToDefaultContentLocation/index.d.ts +2 -2
- package/sites/item/lists/item/contentTypes/item/isPublished/index.d.ts +3 -2
- package/sites/item/lists/item/contentTypes/item/isPublished/index.d.ts.map +1 -1
- package/sites/item/lists/item/contentTypes/item/publish/index.d.ts +2 -2
- package/sites/item/lists/item/contentTypes/item/unpublish/index.d.ts +2 -2
- package/sites/item/lists/item/index.d.ts +3 -3
- package/sites/item/lists/item/items/delta/index.d.ts +4 -3
- package/sites/item/lists/item/items/delta/index.d.ts.map +1 -1
- package/sites/item/lists/item/items/index.d.ts +10 -6
- package/sites/item/lists/item/items/index.d.ts.map +1 -1
- package/sites/item/lists/item/items/index.js +2 -1
- package/sites/item/lists/item/items/item/documentSetVersions/index.d.ts +5 -7
- package/sites/item/lists/item/items/item/documentSetVersions/index.d.ts.map +1 -1
- package/sites/item/lists/item/items/item/documentSetVersions/item/index.d.ts +5 -7
- package/sites/item/lists/item/items/item/documentSetVersions/item/index.d.ts.map +1 -1
- package/sites/item/lists/item/items/item/driveItem/index.d.ts +3 -3
- package/sites/item/lists/item/items/item/fields/index.d.ts +2 -3
- package/sites/item/lists/item/items/item/fields/index.d.ts.map +1 -1
- package/sites/item/lists/item/items/item/index.d.ts +5 -5
- package/sites/item/lists/item/items/item/versions/index.d.ts +3 -4
- package/sites/item/lists/item/items/item/versions/index.d.ts.map +1 -1
- package/sites/item/lists/item/items/item/versions/item/index.d.ts +3 -4
- package/sites/item/lists/item/items/item/versions/item/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/index.d.ts +4 -3
- package/sites/item/onenote/notebooks/getRecentNotebooksWithIncludePersonalNotebooks/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/index.d.ts +5 -7
- package/sites/item/onenote/notebooks/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/index.d.ts +3 -4
- package/sites/item/onenote/notebooks/item/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sectionGroups/index.d.ts +5 -7
- package/sites/item/onenote/notebooks/item/sectionGroups/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/index.d.ts +3 -4
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sectionGroups/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sections/index.d.ts +5 -7
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sections/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/index.d.ts +5 -7
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/index.d.ts +0 -1
- package/sites/item/onenote/notebooks/item/sectionGroups/item/sections/item/pages/item/content/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sections/index.d.ts +5 -7
- package/sites/item/onenote/notebooks/item/sections/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sections/item/pages/index.d.ts +5 -7
- package/sites/item/onenote/notebooks/item/sections/item/pages/index.d.ts.map +1 -1
- package/sites/item/onenote/notebooks/item/sections/item/pages/item/content/index.d.ts +0 -1
- package/sites/item/onenote/notebooks/item/sections/item/pages/item/content/index.d.ts.map +1 -1
- package/sites/item/onenote/operations/index.d.ts +3 -3
- package/sites/item/onenote/operations/item/index.d.ts +3 -4
- package/sites/item/onenote/operations/item/index.d.ts.map +1 -1
- package/sites/item/onenote/pages/index.d.ts +5 -7
- package/sites/item/onenote/pages/index.d.ts.map +1 -1
- package/sites/item/onenote/pages/item/content/index.d.ts +0 -1
- package/sites/item/onenote/pages/item/content/index.d.ts.map +1 -1
- package/sites/item/onenote/pages/item/index.d.ts +5 -7
- package/sites/item/onenote/pages/item/index.d.ts.map +1 -1
- package/sites/item/onenote/sectionGroups/index.d.ts +3 -4
- package/sites/item/onenote/sectionGroups/index.d.ts.map +1 -1
- package/sites/item/onenote/sectionGroups/item/index.d.ts +3 -4
- package/sites/item/onenote/sectionGroups/item/index.d.ts.map +1 -1
- package/sites/item/onenote/sectionGroups/item/sectionGroups/index.d.ts +3 -4
- package/sites/item/onenote/sectionGroups/item/sectionGroups/index.d.ts.map +1 -1
- package/sites/item/onenote/sectionGroups/item/sections/index.d.ts +5 -7
- package/sites/item/onenote/sectionGroups/item/sections/index.d.ts.map +1 -1
- package/sites/item/onenote/sectionGroups/item/sections/item/pages/index.d.ts +5 -7
- package/sites/item/onenote/sectionGroups/item/sections/item/pages/index.d.ts.map +1 -1
- package/sites/item/onenote/sectionGroups/item/sections/item/pages/item/content/index.d.ts +0 -1
- package/sites/item/onenote/sectionGroups/item/sections/item/pages/item/content/index.d.ts.map +1 -1
- package/sites/item/onenote/sections/index.d.ts +3 -4
- package/sites/item/onenote/sections/index.d.ts.map +1 -1
- package/sites/item/onenote/sections/item/index.d.ts +3 -4
- package/sites/item/onenote/sections/item/index.d.ts.map +1 -1
- package/sites/item/onenote/sections/item/pages/index.d.ts +5 -7
- package/sites/item/onenote/sections/item/pages/index.d.ts.map +1 -1
- package/sites/item/onenote/sections/item/pages/item/content/index.d.ts +0 -1
- package/sites/item/onenote/sections/item/pages/item/content/index.d.ts.map +1 -1
- package/sites/item/pages/graphSitePage/index.d.ts +4 -3
- package/sites/item/pages/graphSitePage/index.d.ts.map +1 -1
- package/sites/item/pages/index.d.ts +5 -5
- package/sites/item/pages/item/graphSitePage/index.d.ts +4 -3
- package/sites/item/pages/item/graphSitePage/index.d.ts.map +1 -1
- package/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts +3 -2
- package/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts.map +1 -1
- package/sites/item/pages/item/index.d.ts +5 -5
- package/sites/item/permissions/item/grant/index.d.ts +2 -2
- package/sites/item/sites/index.d.ts +3 -3
- package/sites/item/termStore/groups/item/sets/item/children/index.d.ts +5 -7
- package/sites/item/termStore/groups/item/sets/item/children/index.d.ts.map +1 -1
- package/sites/item/termStore/groups/item/sets/item/relations/index.d.ts +3 -4
- package/sites/item/termStore/groups/item/sets/item/relations/index.d.ts.map +1 -1
- package/sites/item/termStore/groups/item/sets/item/terms/index.d.ts +3 -3
- package/sites/item/termStore/groups/item/sets/item/terms/item/index.d.ts +7 -10
- package/sites/item/termStore/groups/item/sets/item/terms/item/index.d.ts.map +1 -1
- package/sites/item/termStore/sets/item/parentGroup/sets/index.d.ts +3 -4
- package/sites/item/termStore/sets/item/parentGroup/sets/index.d.ts.map +1 -1
- package/sites/item/termStore/sets/item/parentGroup/sets/item/children/index.d.ts +5 -7
- package/sites/item/termStore/sets/item/parentGroup/sets/item/children/index.d.ts.map +1 -1
- package/sites/item/termStore/sets/item/parentGroup/sets/item/relations/index.d.ts +3 -4
- package/sites/item/termStore/sets/item/parentGroup/sets/item/relations/index.d.ts.map +1 -1
- package/sites/item/termStore/sets/item/parentGroup/sets/item/terms/index.d.ts +3 -3
- package/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/index.d.ts +7 -10
- package/sites/item/termStore/sets/item/parentGroup/sets/item/terms/item/index.d.ts.map +1 -1
- package/sites/item/termStore/sets/item/terms/index.d.ts +3 -3
- package/sites/item/termStore/sets/item/terms/item/index.d.ts +3 -4
- package/sites/item/termStore/sets/item/terms/item/index.d.ts.map +1 -1
- package/sites/item/termStores/item/groups/index.d.ts +5 -7
- package/sites/item/termStores/item/groups/index.d.ts.map +1 -1
- package/sites/item/termStores/item/groups/item/index.d.ts +5 -7
- package/sites/item/termStores/item/groups/item/index.d.ts.map +1 -1
- package/sites/item/termStores/item/groups/item/sets/index.d.ts +3 -4
- package/sites/item/termStores/item/groups/item/sets/index.d.ts.map +1 -1
- package/sites/item/termStores/item/groups/item/sets/item/children/index.d.ts +5 -7
- package/sites/item/termStores/item/groups/item/sets/item/children/index.d.ts.map +1 -1
- package/sites/item/termStores/item/groups/item/sets/item/relations/index.d.ts +3 -4
- package/sites/item/termStores/item/groups/item/sets/item/relations/index.d.ts.map +1 -1
- package/sites/item/termStores/item/groups/item/sets/item/terms/index.d.ts +3 -3
- package/sites/item/termStores/item/groups/item/sets/item/terms/item/index.d.ts +7 -10
- package/sites/item/termStores/item/groups/item/sets/item/terms/item/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/index.d.ts +5 -6
- package/sites/item/termStores/item/sets/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/children/index.d.ts +5 -7
- package/sites/item/termStores/item/sets/item/children/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/index.d.ts +7 -10
- package/sites/item/termStores/item/sets/item/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/parentGroup/sets/index.d.ts +3 -4
- package/sites/item/termStores/item/sets/item/parentGroup/sets/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/index.d.ts +5 -7
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/children/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/index.d.ts +3 -4
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/relations/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/index.d.ts +3 -3
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/index.d.ts +7 -10
- package/sites/item/termStores/item/sets/item/parentGroup/sets/item/terms/item/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/relations/index.d.ts +3 -4
- package/sites/item/termStores/item/sets/item/relations/index.d.ts.map +1 -1
- package/sites/item/termStores/item/sets/item/terms/index.d.ts +3 -3
- package/sites/item/termStores/item/sets/item/terms/item/index.d.ts +7 -10
- package/sites/item/termStores/item/sets/item/terms/item/index.d.ts.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-sites",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.22",
|
|
4
4
|
"description": "Sites fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
38
|
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
39
|
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.22",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d41363478d26ba2bcde02901bb2983793b286bdf"
|
|
48
48
|
}
|
package/sites/delta/index.d.ts
CHANGED
|
@@ -17,21 +17,22 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/site-delta?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state.
|
|
28
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
30
|
* @returns {RequestInformation}
|
|
30
31
|
*/
|
|
31
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
* Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state.
|
|
35
36
|
*/
|
|
36
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
37
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiI,KAAK,yBAAyB,EAAE,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAI1N,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElO;;;;GAIG;AACH,wBAAgB,4CAA4C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAA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,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,gBAAgB,GAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKxJ;AACD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,GAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAc,GAAI,IAAI,CAG1I;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,0GAA0G,CAAC;AActJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -22,21 +22,22 @@ export interface GetAllSitesGetResponse extends BaseCollectionPaginationCountRes
|
|
|
22
22
|
*/
|
|
23
23
|
export interface GetAllSitesRequestBuilder extends BaseRequestBuilder<GetAllSitesRequestBuilder> {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<GetAllSitesGetResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-1.0|Find more info here}
|
|
29
30
|
*/
|
|
30
31
|
get(requestConfiguration?: RequestConfiguration<GetAllSitesRequestBuilderGetQueryParameters> | undefined): Promise<GetAllSitesGetResponse | undefined>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.
|
|
33
34
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
35
|
* @returns {RequestInformation}
|
|
35
36
|
*/
|
|
36
37
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetAllSitesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.
|
|
40
41
|
*/
|
|
41
42
|
export interface GetAllSitesRequestBuilderGetQueryParameters {
|
|
42
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyJ,KAAK,qCAAqC,EAAE,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAI9P,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElO;;;;GAIG;AACH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAA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
|
bySiteId(siteId: string): SiteItemRequestBuilder;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {Promise<SiteCollectionResponse>}
|
|
43
43
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
44
|
-
* @see {@link https://learn.microsoft.com/graph/api/site-
|
|
44
|
+
* @see {@link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0|Find more info here}
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<SitesRequestBuilderGetQueryParameters> | undefined): Promise<SiteCollectionResponse | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
|
|
49
49
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
50
|
* @returns {RequestInformation}
|
|
51
51
|
*/
|
|
52
52
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SitesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
|
|
56
56
|
*/
|
|
57
57
|
export interface SitesRequestBuilderGetQueryParameters {
|
|
58
58
|
/**
|
|
@@ -5,22 +5,21 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface AllTimeRequestBuilder extends BaseRequestBuilder<AllTimeRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Get
|
|
8
|
+
* Get allTime from sites
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<ItemActivityStat>}
|
|
11
11
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
-
* @see {@link https://learn.microsoft.com/graph/api/itemanalytics-get?view=graph-rest-1.0|Find more info here}
|
|
13
12
|
*/
|
|
14
13
|
get(requestConfiguration?: RequestConfiguration<AllTimeRequestBuilderGetQueryParameters> | undefined): Promise<ItemActivityStat | undefined>;
|
|
15
14
|
/**
|
|
16
|
-
* Get
|
|
15
|
+
* Get allTime from sites
|
|
17
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
17
|
* @returns {RequestInformation}
|
|
19
18
|
*/
|
|
20
19
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllTimeRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
|
-
* Get
|
|
22
|
+
* Get allTime from sites
|
|
24
23
|
*/
|
|
25
24
|
export interface AllTimeRequestBuilderGetQueryParameters {
|
|
26
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgD,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIrH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgD,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIrH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,yEAAyE,CAAC;AAQvH;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAWnD,CAAC"}
|
|
@@ -17,7 +17,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
17
17
|
*/
|
|
18
18
|
byColumnDefinitionId(columnDefinitionId: string): ColumnDefinitionItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
* Get the collection of columns represented as
|
|
20
|
+
* Get the collection of columns represented as columnDefinition resources in a site.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ColumnDefinitionCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,7 +25,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): Promise<ColumnDefinitionCollectionResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Create a column for a
|
|
28
|
+
* Create a column for a site with a request that specifies a columnDefinition.
|
|
29
29
|
* @param body The request body
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {Promise<ColumnDefinition>}
|
|
@@ -34,13 +34,13 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
34
34
|
*/
|
|
35
35
|
post(body: ColumnDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ColumnDefinition | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
* Get the collection of columns represented as
|
|
37
|
+
* Get the collection of columns represented as columnDefinition resources in a site.
|
|
38
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
39
|
* @returns {RequestInformation}
|
|
40
40
|
*/
|
|
41
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
42
|
/**
|
|
43
|
-
* Create a column for a
|
|
43
|
+
* Create a column for a site with a request that specifies a columnDefinition.
|
|
44
44
|
* @param body The request body
|
|
45
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
46
|
* @returns {RequestInformation}
|
|
@@ -48,7 +48,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
48
48
|
toPostRequestInformation(body: ColumnDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Get the collection of columns represented as
|
|
51
|
+
* Get the collection of columns represented as columnDefinition resources in a site.
|
|
52
52
|
*/
|
|
53
53
|
export interface ColumnsRequestBuilderGetQueryParameters {
|
|
54
54
|
/**
|
|
@@ -19,7 +19,7 @@ export interface AddCopyPostRequestBody extends AdditionalDataHolder, BackedMode
|
|
|
19
19
|
*/
|
|
20
20
|
export interface AddCopyRequestBuilder extends BaseRequestBuilder<AddCopyRequestBuilder> {
|
|
21
21
|
/**
|
|
22
|
-
* Add a copy of a
|
|
22
|
+
* Add a copy of a content type from a site to a list.
|
|
23
23
|
* @param body The request body
|
|
24
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
25
|
* @returns {Promise<ContentType>}
|
|
@@ -28,7 +28,7 @@ export interface AddCopyRequestBuilder extends BaseRequestBuilder<AddCopyRequest
|
|
|
28
28
|
*/
|
|
29
29
|
post(body: AddCopyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
|
|
30
30
|
/**
|
|
31
|
-
* Add a copy of a
|
|
31
|
+
* Add a copy of a content type from a site to a list.
|
|
32
32
|
* @param body The request body
|
|
33
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
34
|
* @returns {RequestInformation}
|
|
@@ -22,21 +22,22 @@ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionP
|
|
|
22
22
|
*/
|
|
23
23
|
export interface GetCompatibleHubContentTypesRequestBuilder extends BaseRequestBuilder<GetCompatibleHubContentTypesRequestBuilder> {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<GetCompatibleHubContentTypesGetResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-1.0|Find more info here}
|
|
29
30
|
*/
|
|
30
31
|
get(requestConfiguration?: RequestConfiguration<GetCompatibleHubContentTypesRequestBuilderGetQueryParameters> | undefined): Promise<GetCompatibleHubContentTypesGetResponse | undefined>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021.
|
|
33
34
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
35
|
* @returns {RequestInformation}
|
|
35
36
|
*/
|
|
36
37
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetCompatibleHubContentTypesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021.
|
|
40
41
|
*/
|
|
41
42
|
export interface GetCompatibleHubContentTypesRequestBuilderGetQueryParameters {
|
|
42
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuK,KAAK,qCAAqC,EAAE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;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AAC,GAAG,SAAc,GAAI,IAAI,CAG/M;AACD;;GAEG;AACH,eAAO,MAAM,qDAAqD,0JAA0J,CAAC;AAc7N;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBAWxE,CAAC"}
|
|
@@ -32,7 +32,7 @@ export interface ContentTypesRequestBuilder extends BaseRequestBuilder<ContentTy
|
|
|
32
32
|
*/
|
|
33
33
|
byContentTypeId(contentTypeId: string): ContentTypeItemRequestBuilder;
|
|
34
34
|
/**
|
|
35
|
-
* Get the collection of
|
|
35
|
+
* Get the collection of contentType resources in a site.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {Promise<ContentTypeCollectionResponse>}
|
|
38
38
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -40,7 +40,7 @@ export interface ContentTypesRequestBuilder extends BaseRequestBuilder<ContentTy
|
|
|
40
40
|
*/
|
|
41
41
|
get(requestConfiguration?: RequestConfiguration<ContentTypesRequestBuilderGetQueryParameters> | undefined): Promise<ContentTypeCollectionResponse | undefined>;
|
|
42
42
|
/**
|
|
43
|
-
* Create a new
|
|
43
|
+
* Create a new contentType in a site.
|
|
44
44
|
* @param body The request body
|
|
45
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
46
|
* @returns {Promise<ContentType>}
|
|
@@ -49,13 +49,13 @@ export interface ContentTypesRequestBuilder extends BaseRequestBuilder<ContentTy
|
|
|
49
49
|
*/
|
|
50
50
|
post(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
|
|
51
51
|
/**
|
|
52
|
-
* Get the collection of
|
|
52
|
+
* Get the collection of contentType resources in a site.
|
|
53
53
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
54
|
* @returns {RequestInformation}
|
|
55
55
|
*/
|
|
56
56
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentTypesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
57
57
|
/**
|
|
58
|
-
* Create a new
|
|
58
|
+
* Create a new contentType in a site.
|
|
59
59
|
* @param body The request body
|
|
60
60
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
61
|
* @returns {RequestInformation}
|
|
@@ -63,7 +63,7 @@ export interface ContentTypesRequestBuilder extends BaseRequestBuilder<ContentTy
|
|
|
63
63
|
toPostRequestInformation(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Get the collection of
|
|
66
|
+
* Get the collection of contentType resources in a site.
|
|
67
67
|
*/
|
|
68
68
|
export interface ContentTypesRequestBuilderGetQueryParameters {
|
|
69
69
|
/**
|
|
@@ -22,7 +22,7 @@ export interface AssociateWithHubSitesPostRequestBody extends AdditionalDataHold
|
|
|
22
22
|
*/
|
|
23
23
|
export interface AssociateWithHubSitesRequestBuilder extends BaseRequestBuilder<AssociateWithHubSitesRequestBuilder> {
|
|
24
24
|
/**
|
|
25
|
-
* Associate a published
|
|
25
|
+
* Associate a published content type present in a content type hub with a list of hub sites.
|
|
26
26
|
* @param body The request body
|
|
27
27
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -30,7 +30,7 @@ export interface AssociateWithHubSitesRequestBuilder extends BaseRequestBuilder<
|
|
|
30
30
|
*/
|
|
31
31
|
post(body: AssociateWithHubSitesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
32
32
|
/**
|
|
33
|
-
* Associate a published
|
|
33
|
+
* Associate a published content type present in a content type hub with a list of hub sites.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {RequestInformation}
|
|
@@ -17,7 +17,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
17
17
|
*/
|
|
18
18
|
byColumnDefinitionId(columnDefinitionId: string): ColumnDefinitionItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
* Get the collection of columns represented as
|
|
20
|
+
* Get the collection of columns represented as columnDefinition resources in a content type.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ColumnDefinitionCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,7 +25,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): Promise<ColumnDefinitionCollectionResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Add a column to a
|
|
28
|
+
* Add a column to a content type in a site, or a list with a request that specifies a columnDefinition.
|
|
29
29
|
* @param body The request body
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {Promise<ColumnDefinition>}
|
|
@@ -34,13 +34,13 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
34
34
|
*/
|
|
35
35
|
post(body: ColumnDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ColumnDefinition | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
* Get the collection of columns represented as
|
|
37
|
+
* Get the collection of columns represented as columnDefinition resources in a content type.
|
|
38
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
39
|
* @returns {RequestInformation}
|
|
40
40
|
*/
|
|
41
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
42
|
/**
|
|
43
|
-
* Add a column to a
|
|
43
|
+
* Add a column to a content type in a site, or a list with a request that specifies a columnDefinition.
|
|
44
44
|
* @param body The request body
|
|
45
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
46
|
* @returns {RequestInformation}
|
|
@@ -48,7 +48,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
|
|
|
48
48
|
toPostRequestInformation(body: ColumnDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Get the collection of columns represented as
|
|
51
|
+
* Get the collection of columns represented as columnDefinition resources in a content type.
|
|
52
52
|
*/
|
|
53
53
|
export interface ColumnsRequestBuilderGetQueryParameters {
|
|
54
54
|
/**
|
|
@@ -10,14 +10,14 @@ export interface ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder<C
|
|
|
10
10
|
*/
|
|
11
11
|
get sourceColumn(): SourceColumnRequestBuilder;
|
|
12
12
|
/**
|
|
13
|
-
* Remove a
|
|
13
|
+
* Remove a column from a site, a list, or a content type.
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
15
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
16
|
* @see {@link https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0|Find more info here}
|
|
17
17
|
*/
|
|
18
18
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
19
19
|
/**
|
|
20
|
-
* Retrieve the metadata for a
|
|
20
|
+
* Retrieve the metadata for a site, a list, or a contentType column.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ColumnDefinition>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,7 +25,7 @@ export interface ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder<C
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<ColumnDefinitionItemRequestBuilderGetQueryParameters> | undefined): Promise<ColumnDefinition | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Update a
|
|
28
|
+
* Update a site, a list, or a content type column.
|
|
29
29
|
* @param body The request body
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {Promise<ColumnDefinition>}
|
|
@@ -34,19 +34,19 @@ export interface ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder<C
|
|
|
34
34
|
*/
|
|
35
35
|
patch(body: ColumnDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ColumnDefinition | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
* Remove a
|
|
37
|
+
* Remove a column from a site, a list, or a content type.
|
|
38
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
39
|
* @returns {RequestInformation}
|
|
40
40
|
*/
|
|
41
41
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieve the metadata for a
|
|
43
|
+
* Retrieve the metadata for a site, a list, or a contentType column.
|
|
44
44
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
45
|
* @returns {RequestInformation}
|
|
46
46
|
*/
|
|
47
47
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ColumnDefinitionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
48
48
|
/**
|
|
49
|
-
* Update a
|
|
49
|
+
* Update a site, a list, or a content type column.
|
|
50
50
|
* @param body The request body
|
|
51
51
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
52
|
* @returns {RequestInformation}
|
|
@@ -54,7 +54,7 @@ export interface ColumnDefinitionItemRequestBuilder extends BaseRequestBuilder<C
|
|
|
54
54
|
toPatchRequestInformation(body: ColumnDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* Retrieve the metadata for a
|
|
57
|
+
* Retrieve the metadata for a site, a list, or a contentType column.
|
|
58
58
|
*/
|
|
59
59
|
export interface ColumnDefinitionItemRequestBuilderGetQueryParameters {
|
|
60
60
|
/**
|
|
@@ -23,7 +23,7 @@ export interface CopyToDefaultContentLocationPostRequestBody extends AdditionalD
|
|
|
23
23
|
*/
|
|
24
24
|
export interface CopyToDefaultContentLocationRequestBuilder extends BaseRequestBuilder<CopyToDefaultContentLocationRequestBuilder> {
|
|
25
25
|
/**
|
|
26
|
-
* Copy a file to a default content location in a
|
|
26
|
+
* Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.
|
|
27
27
|
* @param body The request body
|
|
28
28
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
29
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -31,7 +31,7 @@ export interface CopyToDefaultContentLocationRequestBuilder extends BaseRequestB
|
|
|
31
31
|
*/
|
|
32
32
|
post(body: CopyToDefaultContentLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
33
33
|
/**
|
|
34
|
-
* Copy a file to a default content location in a
|
|
34
|
+
* Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.
|
|
35
35
|
* @param body The request body
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
@@ -55,14 +55,14 @@ export interface ContentTypeItemRequestBuilder extends BaseRequestBuilder<Conten
|
|
|
55
55
|
*/
|
|
56
56
|
get unpublish(): UnpublishRequestBuilder;
|
|
57
57
|
/**
|
|
58
|
-
* Remove a
|
|
58
|
+
* Remove a content type from a list or a site.
|
|
59
59
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
60
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
61
61
|
* @see {@link https://learn.microsoft.com/graph/api/contenttype-delete?view=graph-rest-1.0|Find more info here}
|
|
62
62
|
*/
|
|
63
63
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
64
64
|
/**
|
|
65
|
-
* Retrieve the metadata for a
|
|
65
|
+
* Retrieve the metadata for a content type in a site or a list.
|
|
66
66
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
67
67
|
* @returns {Promise<ContentType>}
|
|
68
68
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -70,7 +70,7 @@ export interface ContentTypeItemRequestBuilder extends BaseRequestBuilder<Conten
|
|
|
70
70
|
*/
|
|
71
71
|
get(requestConfiguration?: RequestConfiguration<ContentTypeItemRequestBuilderGetQueryParameters> | undefined): Promise<ContentType | undefined>;
|
|
72
72
|
/**
|
|
73
|
-
* Update a
|
|
73
|
+
* Update a content type.
|
|
74
74
|
* @param body The request body
|
|
75
75
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
76
76
|
* @returns {Promise<ContentType>}
|
|
@@ -79,19 +79,19 @@ export interface ContentTypeItemRequestBuilder extends BaseRequestBuilder<Conten
|
|
|
79
79
|
*/
|
|
80
80
|
patch(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
|
|
81
81
|
/**
|
|
82
|
-
* Remove a
|
|
82
|
+
* Remove a content type from a list or a site.
|
|
83
83
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
84
84
|
* @returns {RequestInformation}
|
|
85
85
|
*/
|
|
86
86
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
87
87
|
/**
|
|
88
|
-
* Retrieve the metadata for a
|
|
88
|
+
* Retrieve the metadata for a content type in a site or a list.
|
|
89
89
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
90
90
|
* @returns {RequestInformation}
|
|
91
91
|
*/
|
|
92
92
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentTypeItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
93
93
|
/**
|
|
94
|
-
* Update a
|
|
94
|
+
* Update a content type.
|
|
95
95
|
* @param body The request body
|
|
96
96
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
97
|
* @returns {RequestInformation}
|
|
@@ -99,7 +99,7 @@ export interface ContentTypeItemRequestBuilder extends BaseRequestBuilder<Conten
|
|
|
99
99
|
toPatchRequestInformation(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* Retrieve the metadata for a
|
|
102
|
+
* Retrieve the metadata for a content type in a site or a list.
|
|
103
103
|
*/
|
|
104
104
|
export interface ContentTypeItemRequestBuilderGetQueryParameters {
|
|
105
105
|
/**
|
|
@@ -29,14 +29,15 @@ export interface IsPublishedGetResponse extends AdditionalDataHolder, BackedMode
|
|
|
29
29
|
*/
|
|
30
30
|
export interface IsPublishedRequestBuilder extends BaseRequestBuilder<IsPublishedRequestBuilder> {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Check the publishing status of a contentType in a content type hub site.
|
|
33
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
34
|
* @returns {Promise<IsPublishedGetResponse>}
|
|
35
35
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
36
|
+
* @see {@link https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-1.0|Find more info here}
|
|
36
37
|
*/
|
|
37
38
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IsPublishedGetResponse | undefined>;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* Check the publishing status of a contentType in a content type hub site.
|
|
40
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
42
|
* @returns {RequestInformation}
|
|
42
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE1K;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK1K;AACD,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACvF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AACD;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAA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+E,CAAC;AACjI;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAUvD,CAAC"}
|
|
@@ -4,14 +4,14 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface PublishRequestBuilder extends BaseRequestBuilder<PublishRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
* Publishes a
|
|
7
|
+
* Publishes a contentType present in the content type hub site.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
10
|
* @see {@link https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0|Find more info here}
|
|
11
11
|
*/
|
|
12
12
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Publishes a
|
|
14
|
+
* Publishes a contentType present in the content type hub site.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {RequestInformation}
|
|
17
17
|
*/
|
|
@@ -4,14 +4,14 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface UnpublishRequestBuilder extends BaseRequestBuilder<UnpublishRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
* Unpublish a
|
|
7
|
+
* Unpublish a contentType from a content type hub site.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
10
|
* @see {@link https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0|Find more info here}
|
|
11
11
|
*/
|
|
12
12
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Unpublish a
|
|
14
|
+
* Unpublish a contentType from a content type hub site.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {RequestInformation}
|
|
17
17
|
*/
|