@microsoft/msgraph-sdk-shares 1.0.0-preview.10
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/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/shares/count/index.d.ts +40 -0
- package/shares/count/index.d.ts.map +1 -0
- package/shares/count/index.js +35 -0
- package/shares/index.d.ts +95 -0
- package/shares/index.d.ts.map +1 -0
- package/shares/index.js +71 -0
- package/shares/item/createdByUser/index.d.ts +55 -0
- package/shares/item/createdByUser/index.d.ts.map +1 -0
- package/shares/item/createdByUser/index.js +52 -0
- package/shares/item/createdByUser/mailboxSettings/index.d.ts +55 -0
- package/shares/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
- package/shares/item/createdByUser/mailboxSettings/index.js +48 -0
- package/shares/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/shares/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/shares/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/shares/item/createdByUser/serviceProvisioningErrors/index.d.ts +74 -0
- package/shares/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/shares/item/createdByUser/serviceProvisioningErrors/index.js +52 -0
- package/shares/item/driveItem/content/index.d.ts +43 -0
- package/shares/item/driveItem/content/index.d.ts.map +1 -0
- package/shares/item/driveItem/content/index.js +39 -0
- package/shares/item/driveItem/index.d.ts +51 -0
- package/shares/item/driveItem/index.d.ts.map +1 -0
- package/shares/item/driveItem/index.js +46 -0
- package/shares/item/index.d.ts +116 -0
- package/shares/item/index.d.ts.map +1 -0
- package/shares/item/index.js +113 -0
- package/shares/item/items/count/index.d.ts +40 -0
- package/shares/item/items/count/index.d.ts.map +1 -0
- package/shares/item/items/count/index.js +35 -0
- package/shares/item/items/index.d.ts +81 -0
- package/shares/item/items/index.d.ts.map +1 -0
- package/shares/item/items/index.js +59 -0
- package/shares/item/items/item/content/index.d.ts +42 -0
- package/shares/item/items/item/content/index.d.ts.map +1 -0
- package/shares/item/items/item/content/index.js +39 -0
- package/shares/item/items/item/index.d.ts +50 -0
- package/shares/item/items/item/index.d.ts.map +1 -0
- package/shares/item/items/item/index.js +46 -0
- package/shares/item/lastModifiedByUser/index.d.ts +55 -0
- package/shares/item/lastModifiedByUser/index.d.ts.map +1 -0
- package/shares/item/lastModifiedByUser/index.js +52 -0
- package/shares/item/lastModifiedByUser/mailboxSettings/index.d.ts +55 -0
- package/shares/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
- package/shares/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
- package/shares/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/shares/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/shares/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/shares/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +74 -0
- package/shares/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/shares/item/lastModifiedByUser/serviceProvisioningErrors/index.js +52 -0
- package/shares/item/list/columns/count/index.d.ts +40 -0
- package/shares/item/list/columns/count/index.d.ts.map +1 -0
- package/shares/item/list/columns/count/index.js +35 -0
- package/shares/item/list/columns/index.d.ts +97 -0
- package/shares/item/list/columns/index.d.ts.map +1 -0
- package/shares/item/list/columns/index.js +71 -0
- package/shares/item/list/columns/item/index.d.ts +75 -0
- package/shares/item/list/columns/item/index.d.ts.map +1 -0
- package/shares/item/list/columns/item/index.js +66 -0
- package/shares/item/list/columns/item/sourceColumn/index.d.ts +41 -0
- package/shares/item/list/columns/item/sourceColumn/index.d.ts.map +1 -0
- package/shares/item/list/columns/item/sourceColumn/index.js +36 -0
- package/shares/item/list/contentTypes/addCopy/index.d.ts +61 -0
- package/shares/item/list/contentTypes/addCopy/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/addCopy/index.js +60 -0
- package/shares/item/list/contentTypes/addCopyFromContentTypeHub/index.d.ts +61 -0
- package/shares/item/list/contentTypes/addCopyFromContentTypeHub/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/addCopyFromContentTypeHub/index.js +60 -0
- package/shares/item/list/contentTypes/count/index.d.ts +40 -0
- package/shares/item/list/contentTypes/count/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/count/index.js +35 -0
- package/shares/item/list/contentTypes/getCompatibleHubContentTypes/index.d.ts +83 -0
- package/shares/item/list/contentTypes/getCompatibleHubContentTypes/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/getCompatibleHubContentTypes/index.js +67 -0
- package/shares/item/list/contentTypes/index.d.ts +111 -0
- package/shares/item/list/contentTypes/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/index.js +86 -0
- package/shares/item/list/contentTypes/item/associateWithHubSites/index.d.ts +63 -0
- package/shares/item/list/contentTypes/item/associateWithHubSites/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/associateWithHubSites/index.js +60 -0
- package/shares/item/list/contentTypes/item/base/index.d.ts +41 -0
- package/shares/item/list/contentTypes/item/base/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/base/index.js +35 -0
- package/shares/item/list/contentTypes/item/baseTypes/count/index.d.ts +40 -0
- package/shares/item/list/contentTypes/item/baseTypes/count/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/baseTypes/count/index.js +35 -0
- package/shares/item/list/contentTypes/item/baseTypes/index.d.ts +81 -0
- package/shares/item/list/contentTypes/item/baseTypes/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/baseTypes/index.js +58 -0
- package/shares/item/list/contentTypes/item/baseTypes/item/index.d.ts +41 -0
- package/shares/item/list/contentTypes/item/baseTypes/item/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/baseTypes/item/index.js +36 -0
- package/shares/item/list/contentTypes/item/columnLinks/count/index.d.ts +40 -0
- package/shares/item/list/contentTypes/item/columnLinks/count/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columnLinks/count/index.js +35 -0
- package/shares/item/list/contentTypes/item/columnLinks/index.d.ts +95 -0
- package/shares/item/list/contentTypes/item/columnLinks/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columnLinks/index.js +70 -0
- package/shares/item/list/contentTypes/item/columnLinks/item/index.d.ts +66 -0
- package/shares/item/list/contentTypes/item/columnLinks/item/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columnLinks/item/index.js +56 -0
- package/shares/item/list/contentTypes/item/columnPositions/count/index.d.ts +40 -0
- package/shares/item/list/contentTypes/item/columnPositions/count/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columnPositions/count/index.js +35 -0
- package/shares/item/list/contentTypes/item/columnPositions/index.d.ts +81 -0
- package/shares/item/list/contentTypes/item/columnPositions/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columnPositions/index.js +58 -0
- package/shares/item/list/contentTypes/item/columnPositions/item/index.d.ts +41 -0
- package/shares/item/list/contentTypes/item/columnPositions/item/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columnPositions/item/index.js +36 -0
- package/shares/item/list/contentTypes/item/columns/count/index.d.ts +40 -0
- package/shares/item/list/contentTypes/item/columns/count/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columns/count/index.js +35 -0
- package/shares/item/list/contentTypes/item/columns/index.d.ts +97 -0
- package/shares/item/list/contentTypes/item/columns/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columns/index.js +71 -0
- package/shares/item/list/contentTypes/item/columns/item/index.d.ts +78 -0
- package/shares/item/list/contentTypes/item/columns/item/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columns/item/index.js +66 -0
- package/shares/item/list/contentTypes/item/columns/item/sourceColumn/index.d.ts +41 -0
- package/shares/item/list/contentTypes/item/columns/item/sourceColumn/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/columns/item/sourceColumn/index.js +36 -0
- package/shares/item/list/contentTypes/item/copyToDefaultContentLocation/index.d.ts +64 -0
- package/shares/item/list/contentTypes/item/copyToDefaultContentLocation/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/copyToDefaultContentLocation/index.js +61 -0
- package/shares/item/list/contentTypes/item/index.d.ts +120 -0
- package/shares/item/list/contentTypes/item/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/index.js +115 -0
- package/shares/item/list/contentTypes/item/isPublished/index.d.ts +57 -0
- package/shares/item/list/contentTypes/item/isPublished/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/isPublished/index.js +56 -0
- package/shares/item/list/contentTypes/item/publish/index.d.ts +27 -0
- package/shares/item/list/contentTypes/item/publish/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/publish/index.js +26 -0
- package/shares/item/list/contentTypes/item/unpublish/index.d.ts +27 -0
- package/shares/item/list/contentTypes/item/unpublish/index.d.ts.map +1 -0
- package/shares/item/list/contentTypes/item/unpublish/index.js +26 -0
- package/shares/item/list/createdByUser/index.d.ts +55 -0
- package/shares/item/list/createdByUser/index.d.ts.map +1 -0
- package/shares/item/list/createdByUser/index.js +52 -0
- package/shares/item/list/createdByUser/mailboxSettings/index.d.ts +55 -0
- package/shares/item/list/createdByUser/mailboxSettings/index.d.ts.map +1 -0
- package/shares/item/list/createdByUser/mailboxSettings/index.js +48 -0
- package/shares/item/list/createdByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/shares/item/list/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/shares/item/list/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/shares/item/list/createdByUser/serviceProvisioningErrors/index.d.ts +74 -0
- package/shares/item/list/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/shares/item/list/createdByUser/serviceProvisioningErrors/index.js +52 -0
- package/shares/item/list/drive/index.d.ts +41 -0
- package/shares/item/list/drive/index.d.ts.map +1 -0
- package/shares/item/list/drive/index.js +36 -0
- package/shares/item/list/index.d.ts +110 -0
- package/shares/item/list/index.d.ts.map +1 -0
- package/shares/item/list/index.js +108 -0
- package/shares/item/list/items/index.d.ts +88 -0
- package/shares/item/list/items/index.d.ts.map +1 -0
- package/shares/item/list/items/index.js +65 -0
- package/shares/item/list/items/item/analytics/index.d.ts +41 -0
- package/shares/item/list/items/item/analytics/index.d.ts.map +1 -0
- package/shares/item/list/items/item/analytics/index.js +36 -0
- package/shares/item/list/items/item/createLink/index.d.ts +88 -0
- package/shares/item/list/items/item/createLink/index.d.ts.map +1 -0
- package/shares/item/list/items/item/createLink/index.js +74 -0
- package/shares/item/list/items/item/createdByUser/index.d.ts +55 -0
- package/shares/item/list/items/item/createdByUser/index.d.ts.map +1 -0
- package/shares/item/list/items/item/createdByUser/index.js +52 -0
- package/shares/item/list/items/item/createdByUser/mailboxSettings/index.d.ts +55 -0
- package/shares/item/list/items/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
- package/shares/item/list/items/item/createdByUser/mailboxSettings/index.js +48 -0
- package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/index.d.ts +74 -0
- package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/index.js +52 -0
- package/shares/item/list/items/item/documentSetVersions/count/index.d.ts +40 -0
- package/shares/item/list/items/item/documentSetVersions/count/index.d.ts.map +1 -0
- package/shares/item/list/items/item/documentSetVersions/count/index.js +35 -0
- package/shares/item/list/items/item/documentSetVersions/index.d.ts +97 -0
- package/shares/item/list/items/item/documentSetVersions/index.d.ts.map +1 -0
- package/shares/item/list/items/item/documentSetVersions/index.js +71 -0
- package/shares/item/list/items/item/documentSetVersions/item/fields/index.d.ts +66 -0
- package/shares/item/list/items/item/documentSetVersions/item/fields/index.d.ts.map +1 -0
- package/shares/item/list/items/item/documentSetVersions/item/fields/index.js +56 -0
- package/shares/item/list/items/item/documentSetVersions/item/index.d.ts +82 -0
- package/shares/item/list/items/item/documentSetVersions/item/index.d.ts.map +1 -0
- package/shares/item/list/items/item/documentSetVersions/item/index.js +71 -0
- package/shares/item/list/items/item/documentSetVersions/item/restore/index.d.ts +27 -0
- package/shares/item/list/items/item/documentSetVersions/item/restore/index.d.ts.map +1 -0
- package/shares/item/list/items/item/documentSetVersions/item/restore/index.js +26 -0
- package/shares/item/list/items/item/driveItem/content/index.d.ts +42 -0
- package/shares/item/list/items/item/driveItem/content/index.d.ts.map +1 -0
- package/shares/item/list/items/item/driveItem/content/index.js +39 -0
- package/shares/item/list/items/item/driveItem/index.d.ts +50 -0
- package/shares/item/list/items/item/driveItem/index.d.ts.map +1 -0
- package/shares/item/list/items/item/driveItem/index.js +46 -0
- package/shares/item/list/items/item/fields/index.d.ts +67 -0
- package/shares/item/list/items/item/fields/index.d.ts.map +1 -0
- package/shares/item/list/items/item/fields/index.js +56 -0
- package/shares/item/list/items/item/getActivitiesByInterval/index.d.ts +83 -0
- package/shares/item/list/items/item/getActivitiesByInterval/index.d.ts.map +1 -0
- package/shares/item/list/items/item/getActivitiesByInterval/index.js +67 -0
- package/shares/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.d.ts +83 -0
- package/shares/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.d.ts.map +1 -0
- package/shares/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.js +67 -0
- package/shares/item/list/items/item/index.d.ts +126 -0
- package/shares/item/list/items/item/index.d.ts.map +1 -0
- package/shares/item/list/items/item/index.js +116 -0
- package/shares/item/list/items/item/lastModifiedByUser/index.d.ts +55 -0
- package/shares/item/list/items/item/lastModifiedByUser/index.d.ts.map +1 -0
- package/shares/item/list/items/item/lastModifiedByUser/index.js +52 -0
- package/shares/item/list/items/item/lastModifiedByUser/mailboxSettings/index.d.ts +55 -0
- package/shares/item/list/items/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
- package/shares/item/list/items/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
- package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +74 -0
- package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/index.js +52 -0
- package/shares/item/list/items/item/versions/count/index.d.ts +40 -0
- package/shares/item/list/items/item/versions/count/index.d.ts.map +1 -0
- package/shares/item/list/items/item/versions/count/index.js +35 -0
- package/shares/item/list/items/item/versions/index.d.ts +96 -0
- package/shares/item/list/items/item/versions/index.d.ts.map +1 -0
- package/shares/item/list/items/item/versions/index.js +71 -0
- package/shares/item/list/items/item/versions/item/fields/index.d.ts +66 -0
- package/shares/item/list/items/item/versions/item/fields/index.d.ts.map +1 -0
- package/shares/item/list/items/item/versions/item/fields/index.js +56 -0
- package/shares/item/list/items/item/versions/item/index.d.ts +81 -0
- package/shares/item/list/items/item/versions/item/index.d.ts.map +1 -0
- package/shares/item/list/items/item/versions/item/index.js +71 -0
- package/shares/item/list/items/item/versions/item/restoreVersion/index.d.ts +27 -0
- package/shares/item/list/items/item/versions/item/restoreVersion/index.d.ts.map +1 -0
- package/shares/item/list/items/item/versions/item/restoreVersion/index.js +26 -0
- package/shares/item/list/lastModifiedByUser/index.d.ts +55 -0
- package/shares/item/list/lastModifiedByUser/index.d.ts.map +1 -0
- package/shares/item/list/lastModifiedByUser/index.js +52 -0
- package/shares/item/list/lastModifiedByUser/mailboxSettings/index.d.ts +55 -0
- package/shares/item/list/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
- package/shares/item/list/lastModifiedByUser/mailboxSettings/index.js +48 -0
- package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +74 -0
- package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/index.js +52 -0
- package/shares/item/list/operations/count/index.d.ts +40 -0
- package/shares/item/list/operations/count/index.d.ts.map +1 -0
- package/shares/item/list/operations/count/index.js +35 -0
- package/shares/item/list/operations/index.d.ts +95 -0
- package/shares/item/list/operations/index.d.ts.map +1 -0
- package/shares/item/list/operations/index.js +70 -0
- package/shares/item/list/operations/item/index.d.ts +66 -0
- package/shares/item/list/operations/item/index.d.ts.map +1 -0
- package/shares/item/list/operations/item/index.js +56 -0
- package/shares/item/list/subscriptions/count/index.d.ts +40 -0
- package/shares/item/list/subscriptions/count/index.d.ts.map +1 -0
- package/shares/item/list/subscriptions/count/index.js +35 -0
- package/shares/item/list/subscriptions/index.d.ts +95 -0
- package/shares/item/list/subscriptions/index.d.ts.map +1 -0
- package/shares/item/list/subscriptions/index.js +71 -0
- package/shares/item/list/subscriptions/item/index.d.ts +75 -0
- package/shares/item/list/subscriptions/item/index.d.ts.map +1 -0
- package/shares/item/list/subscriptions/item/index.js +66 -0
- package/shares/item/list/subscriptions/item/reauthorize/index.d.ts +27 -0
- package/shares/item/list/subscriptions/item/reauthorize/index.d.ts.map +1 -0
- package/shares/item/list/subscriptions/item/reauthorize/index.js +26 -0
- package/shares/item/listItem/index.d.ts +41 -0
- package/shares/item/listItem/index.d.ts.map +1 -0
- package/shares/item/listItem/index.js +36 -0
- package/shares/item/permission/grant/index.d.ts +87 -0
- package/shares/item/permission/grant/index.d.ts.map +1 -0
- package/shares/item/permission/grant/index.js +88 -0
- package/shares/item/permission/index.d.ts +75 -0
- package/shares/item/permission/index.d.ts.map +1 -0
- package/shares/item/permission/index.js +66 -0
- package/shares/item/root/content/index.d.ts +42 -0
- package/shares/item/root/content/index.d.ts.map +1 -0
- package/shares/item/root/content/index.js +39 -0
- package/shares/item/root/index.d.ts +50 -0
- package/shares/item/root/index.d.ts.map +1 -0
- package/shares/item/root/index.js +46 -0
- package/shares/item/site/index.d.ts +41 -0
- package/shares/item/site/index.d.ts.map +1 -0
- package/shares/item/site/index.js +36 -0
- package/sharesServiceClient.d.ts +25 -0
- package/sharesServiceClient.d.ts.map +1 -0
- package/sharesServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type ContentType } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface AddCopyPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The contentType property
|
|
14
|
+
*/
|
|
15
|
+
contentType?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Provides operations to call the addCopy method.
|
|
19
|
+
*/
|
|
20
|
+
export interface AddCopyRequestBuilder extends BaseRequestBuilder<AddCopyRequestBuilder> {
|
|
21
|
+
/**
|
|
22
|
+
* Add a copy of a [content type][contentType] from a [site][site] to a [list][list].
|
|
23
|
+
* @param body The request body
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns a Promise of ContentType
|
|
26
|
+
* @see {@link https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0|Find more info here}
|
|
27
|
+
*/
|
|
28
|
+
post(body: AddCopyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Add a copy of a [content type][contentType] from a [site][site] to a [list][list].
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns a RequestInformation
|
|
34
|
+
*/
|
|
35
|
+
toPostRequestInformation(body: AddCopyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
39
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
40
|
+
* @returns a addCopyPostRequestBody
|
|
41
|
+
*/
|
|
42
|
+
export declare function createAddCopyPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAddCopyPostRequestBody;
|
|
43
|
+
/**
|
|
44
|
+
* The deserialization information for the current model
|
|
45
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
46
|
+
*/
|
|
47
|
+
export declare function deserializeIntoAddCopyPostRequestBody(addCopyPostRequestBody?: AddCopyPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
48
|
+
/**
|
|
49
|
+
* Serializes information the current object
|
|
50
|
+
* @param writer Serialization writer to use to serialize this model
|
|
51
|
+
*/
|
|
52
|
+
export declare function serializeAddCopyPostRequestBody(writer: SerializationWriter, addCopyPostRequestBody?: AddCopyPostRequestBody | undefined): void;
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const AddCopyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
57
|
+
/**
|
|
58
|
+
* Uri template for the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const AddCopyRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopy";
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEjI,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,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,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;;;GAIG;AACH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,gDAElG;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,sBAAsB,GAAE,sBAAsB,GAAG,SAAwC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3L;AACD;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,sBAAsB,GAAG,SAAwC,GAAI,IAAI,CAG7K;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,uEAAuE,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddCopyRequestBuilderUriTemplate = exports.AddCopyRequestBuilderRequestsMetadata = exports.serializeAddCopyPostRequestBody = exports.deserializeIntoAddCopyPostRequestBody = exports.createAddCopyPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a addCopyPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createAddCopyPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoAddCopyPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createAddCopyPostRequestBodyFromDiscriminatorValue = createAddCopyPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoAddCopyPostRequestBody(addCopyPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { addCopyPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"contentType": n => { addCopyPostRequestBody.contentType = n.getStringValue(); },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
exports.deserializeIntoAddCopyPostRequestBody = deserializeIntoAddCopyPostRequestBody;
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param writer Serialization writer to use to serialize this model
|
|
32
|
+
*/
|
|
33
|
+
function serializeAddCopyPostRequestBody(writer, addCopyPostRequestBody = {}) {
|
|
34
|
+
writer.writeStringValue("contentType", addCopyPostRequestBody.contentType);
|
|
35
|
+
writer.writeAdditionalData(addCopyPostRequestBody.additionalData);
|
|
36
|
+
}
|
|
37
|
+
exports.serializeAddCopyPostRequestBody = serializeAddCopyPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.AddCopyRequestBuilderRequestsMetadata = {
|
|
42
|
+
post: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createContentTypeFromDiscriminatorValue,
|
|
50
|
+
requestBodyContentType: "application/json",
|
|
51
|
+
requestBodySerializer: serializeAddCopyPostRequestBody,
|
|
52
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
exports.AddCopyRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopy";
|
|
59
|
+
/* tslint:enable */
|
|
60
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type ContentType } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface AddCopyFromContentTypeHubPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The contentTypeId property
|
|
14
|
+
*/
|
|
15
|
+
contentTypeId?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Provides operations to call the addCopyFromContentTypeHub method.
|
|
19
|
+
*/
|
|
20
|
+
export interface AddCopyFromContentTypeHubRequestBuilder extends BaseRequestBuilder<AddCopyFromContentTypeHubRequestBuilder> {
|
|
21
|
+
/**
|
|
22
|
+
* Add or sync a copy of a published content type from the content type hub 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: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021.
|
|
23
|
+
* @param body The request body
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns a Promise of ContentType
|
|
26
|
+
* @see {@link https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0|Find more info here}
|
|
27
|
+
*/
|
|
28
|
+
post(body: AddCopyFromContentTypeHubPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Add or sync a copy of a published content type from the content type hub 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: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021.
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns a RequestInformation
|
|
34
|
+
*/
|
|
35
|
+
toPostRequestInformation(body: AddCopyFromContentTypeHubPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
39
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
40
|
+
* @returns a addCopyFromContentTypeHubPostRequestBody
|
|
41
|
+
*/
|
|
42
|
+
export declare function createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAddCopyFromContentTypeHubPostRequestBody;
|
|
43
|
+
/**
|
|
44
|
+
* The deserialization information for the current model
|
|
45
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
46
|
+
*/
|
|
47
|
+
export declare function deserializeIntoAddCopyFromContentTypeHubPostRequestBody(addCopyFromContentTypeHubPostRequestBody?: AddCopyFromContentTypeHubPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
48
|
+
/**
|
|
49
|
+
* Serializes information the current object
|
|
50
|
+
* @param writer Serialization writer to use to serialize this model
|
|
51
|
+
*/
|
|
52
|
+
export declare function serializeAddCopyFromContentTypeHubPostRequestBody(writer: SerializationWriter, addCopyFromContentTypeHubPostRequestBody?: AddCopyFromContentTypeHubPostRequestBody | undefined): void;
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const AddCopyFromContentTypeHubRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
57
|
+
/**
|
|
58
|
+
* Uri template for the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const AddCopyFromContentTypeHubRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopyFromContentTypeHub";
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEjI,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,MAAM,WAAW,wCAAyC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACzG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,wCAAwC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wCAAwC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;;;GAIG;AACH,wBAAgB,oEAAoE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,kEAEpH;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,wCAAwC,GAAE,wCAAwC,GAAG,SAA0D,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnQ;AACD;;;GAGG;AACH,wBAAgB,iDAAiD,CAAC,MAAM,EAAE,mBAAmB,EAAE,wCAAwC,GAAE,wCAAwC,GAAG,SAA0D,GAAI,IAAI,CAGrP;AACD;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAarE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,yFAAyF,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddCopyFromContentTypeHubRequestBuilderUriTemplate = exports.AddCopyFromContentTypeHubRequestBuilderRequestsMetadata = exports.serializeAddCopyFromContentTypeHubPostRequestBody = exports.deserializeIntoAddCopyFromContentTypeHubPostRequestBody = exports.createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a addCopyFromContentTypeHubPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoAddCopyFromContentTypeHubPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue = createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoAddCopyFromContentTypeHubPostRequestBody(addCopyFromContentTypeHubPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { addCopyFromContentTypeHubPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"contentTypeId": n => { addCopyFromContentTypeHubPostRequestBody.contentTypeId = n.getStringValue(); },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
exports.deserializeIntoAddCopyFromContentTypeHubPostRequestBody = deserializeIntoAddCopyFromContentTypeHubPostRequestBody;
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param writer Serialization writer to use to serialize this model
|
|
32
|
+
*/
|
|
33
|
+
function serializeAddCopyFromContentTypeHubPostRequestBody(writer, addCopyFromContentTypeHubPostRequestBody = {}) {
|
|
34
|
+
writer.writeStringValue("contentTypeId", addCopyFromContentTypeHubPostRequestBody.contentTypeId);
|
|
35
|
+
writer.writeAdditionalData(addCopyFromContentTypeHubPostRequestBody.additionalData);
|
|
36
|
+
}
|
|
37
|
+
exports.serializeAddCopyFromContentTypeHubPostRequestBody = serializeAddCopyFromContentTypeHubPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.AddCopyFromContentTypeHubRequestBuilderRequestsMetadata = {
|
|
42
|
+
post: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createContentTypeFromDiscriminatorValue,
|
|
50
|
+
requestBodyContentType: "application/json",
|
|
51
|
+
requestBodySerializer: serializeAddCopyFromContentTypeHubPostRequestBody,
|
|
52
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
exports.AddCopyFromContentTypeHubRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopyFromContentTypeHub";
|
|
59
|
+
/* tslint:enable */
|
|
60
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4FAA4F,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type ContentType } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a getCompatibleHubContentTypesGetResponse
|
|
7
|
+
*/
|
|
8
|
+
export declare function createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetCompatibleHubContentTypesGetResponse;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoGetCompatibleHubContentTypesGetResponse(getCompatibleHubContentTypesGetResponse?: GetCompatibleHubContentTypesGetResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* The value property
|
|
17
|
+
*/
|
|
18
|
+
value?: ContentType[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to call the getCompatibleHubContentTypes method.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCompatibleHubContentTypesRequestBuilder extends BaseRequestBuilder<GetCompatibleHubContentTypesRequestBuilder> {
|
|
24
|
+
/**
|
|
25
|
+
* Invoke function getCompatibleHubContentTypes
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns a Promise of GetCompatibleHubContentTypesGetResponse
|
|
28
|
+
*/
|
|
29
|
+
get(requestConfiguration?: RequestConfiguration<GetCompatibleHubContentTypesRequestBuilderGetQueryParameters> | undefined): Promise<GetCompatibleHubContentTypesGetResponse | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Invoke function getCompatibleHubContentTypes
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns a RequestInformation
|
|
34
|
+
*/
|
|
35
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetCompatibleHubContentTypesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Invoke function getCompatibleHubContentTypes
|
|
39
|
+
*/
|
|
40
|
+
export interface GetCompatibleHubContentTypesRequestBuilderGetQueryParameters {
|
|
41
|
+
/**
|
|
42
|
+
* Include count of items
|
|
43
|
+
*/
|
|
44
|
+
count?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Filter items by property values
|
|
47
|
+
*/
|
|
48
|
+
filter?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Order items by property values
|
|
51
|
+
*/
|
|
52
|
+
orderby?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Search items by search phrases
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Skip the first n items
|
|
63
|
+
*/
|
|
64
|
+
skip?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Show only the first n items
|
|
67
|
+
*/
|
|
68
|
+
top?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Serializes information the current object
|
|
72
|
+
* @param writer Serialization writer to use to serialize this model
|
|
73
|
+
*/
|
|
74
|
+
export declare function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse?: GetCompatibleHubContentTypesGetResponse | undefined): void;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const GetCompatibleHubContentTypesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const GetCompatibleHubContentTypesRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/getCompatibleHubContentTypes(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuK,KAAK,qCAAqC,EAAE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEnR,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,mEAAmE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,iEAEnH;AACD;;;GAGG;AACH,wBAAgB,sDAAsD,CAAC,uCAAuC,GAAE,uCAAuC,GAAG,SAAyD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/P;AACD,MAAM,WAAW,uCAAwC,SAAQ,qCAAqC,EAAE,QAAQ;IAC5G;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,0CAA2C,SAAQ,kBAAkB,CAAC,0CAA0C,CAAC;IAC9H;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uCAAuC,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxK;AACD;;GAEG;AACH,MAAM,WAAW,4DAA4D;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;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,gDAAgD,CAAC,MAAM,EAAE,mBAAmB,EAAE,uCAAuC,GAAE,uCAAuC,GAAG,SAAyD,GAAI,IAAI,CAGjP;AAaD;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBAWxE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,iKAAiK,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCompatibleHubContentTypesRequestBuilderUriTemplate = exports.GetCompatibleHubContentTypesRequestBuilderRequestsMetadata = exports.serializeGetCompatibleHubContentTypesGetResponse = exports.deserializeIntoGetCompatibleHubContentTypesGetResponse = exports.createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a getCompatibleHubContentTypesGetResponse
|
|
13
|
+
*/
|
|
14
|
+
function createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoGetCompatibleHubContentTypesGetResponse;
|
|
16
|
+
}
|
|
17
|
+
exports.createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue = createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoGetCompatibleHubContentTypesGetResponse(getCompatibleHubContentTypesGetResponse = {}) {
|
|
23
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getCompatibleHubContentTypesGetResponse)), { "value": n => { getCompatibleHubContentTypesGetResponse.value = n.getCollectionOfObjectValues(models_1.createContentTypeFromDiscriminatorValue); } });
|
|
24
|
+
}
|
|
25
|
+
exports.deserializeIntoGetCompatibleHubContentTypesGetResponse = deserializeIntoGetCompatibleHubContentTypesGetResponse;
|
|
26
|
+
/**
|
|
27
|
+
* Serializes information the current object
|
|
28
|
+
* @param writer Serialization writer to use to serialize this model
|
|
29
|
+
*/
|
|
30
|
+
function serializeGetCompatibleHubContentTypesGetResponse(writer, getCompatibleHubContentTypesGetResponse = {}) {
|
|
31
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getCompatibleHubContentTypesGetResponse);
|
|
32
|
+
writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, models_1.serializeContentType);
|
|
33
|
+
}
|
|
34
|
+
exports.serializeGetCompatibleHubContentTypesGetResponse = serializeGetCompatibleHubContentTypesGetResponse;
|
|
35
|
+
/**
|
|
36
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
37
|
+
*/
|
|
38
|
+
const GetCompatibleHubContentTypesRequestBuilderGetQueryParametersMapper = {
|
|
39
|
+
"count": "%24count",
|
|
40
|
+
"filter": "%24filter",
|
|
41
|
+
"orderby": "%24orderby",
|
|
42
|
+
"search": "%24search",
|
|
43
|
+
"select": "%24select",
|
|
44
|
+
"skip": "%24skip",
|
|
45
|
+
"top": "%24top",
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GetCompatibleHubContentTypesRequestBuilderRequestsMetadata = {
|
|
51
|
+
get: {
|
|
52
|
+
responseBodyContentType: "application/json",
|
|
53
|
+
errorMappings: {
|
|
54
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
55
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "sendAsync",
|
|
58
|
+
responseBodyFactory: createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue,
|
|
59
|
+
queryParametersMapper: GetCompatibleHubContentTypesRequestBuilderGetQueryParametersMapper,
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
exports.GetCompatibleHubContentTypesRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/getCompatibleHubContentTypes(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type ContentType, type ContentTypeCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AddCopyRequestBuilder } from './addCopy/';
|
|
3
|
+
import { type AddCopyFromContentTypeHubRequestBuilder } from './addCopyFromContentTypeHub/';
|
|
4
|
+
import { type CountRequestBuilder } from './count/';
|
|
5
|
+
import { type GetCompatibleHubContentTypesRequestBuilder } from './getCompatibleHubContentTypes/';
|
|
6
|
+
import { type ContentTypeItemRequestBuilder } from './item/';
|
|
7
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the contentTypes property of the microsoft.graph.list entity.
|
|
10
|
+
*/
|
|
11
|
+
export interface ContentTypesRequestBuilder extends BaseRequestBuilder<ContentTypesRequestBuilder> {
|
|
12
|
+
/**
|
|
13
|
+
* Provides operations to call the addCopy method.
|
|
14
|
+
*/
|
|
15
|
+
get addCopy(): AddCopyRequestBuilder;
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to call the addCopyFromContentTypeHub method.
|
|
18
|
+
*/
|
|
19
|
+
get addCopyFromContentTypeHub(): AddCopyFromContentTypeHubRequestBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to count the resources in the collection.
|
|
22
|
+
*/
|
|
23
|
+
get count(): CountRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Provides operations to call the getCompatibleHubContentTypes method.
|
|
26
|
+
*/
|
|
27
|
+
get getCompatibleHubContentTypes(): GetCompatibleHubContentTypesRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* Provides operations to manage the contentTypes property of the microsoft.graph.list entity.
|
|
30
|
+
* @param contentTypeId The unique identifier of contentType
|
|
31
|
+
* @returns a ContentTypeItemRequestBuilder
|
|
32
|
+
*/
|
|
33
|
+
byContentTypeId(contentTypeId: string): ContentTypeItemRequestBuilder;
|
|
34
|
+
/**
|
|
35
|
+
* Get the collection of [contentType][contentType] resources in a [list][].
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns a Promise of ContentTypeCollectionResponse
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0|Find more info here}
|
|
39
|
+
*/
|
|
40
|
+
get(requestConfiguration?: RequestConfiguration<ContentTypesRequestBuilderGetQueryParameters> | undefined): Promise<ContentTypeCollectionResponse | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Create new navigation property to contentTypes for shares
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns a Promise of ContentType
|
|
46
|
+
*/
|
|
47
|
+
post(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Get the collection of [contentType][contentType] resources in a [list][].
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns a RequestInformation
|
|
52
|
+
*/
|
|
53
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentTypesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
54
|
+
/**
|
|
55
|
+
* Create new navigation property to contentTypes for shares
|
|
56
|
+
* @param body The request body
|
|
57
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
|
+
* @returns a RequestInformation
|
|
59
|
+
*/
|
|
60
|
+
toPostRequestInformation(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get the collection of [contentType][contentType] resources in a [list][].
|
|
64
|
+
*/
|
|
65
|
+
export interface ContentTypesRequestBuilderGetQueryParameters {
|
|
66
|
+
/**
|
|
67
|
+
* Include count of items
|
|
68
|
+
*/
|
|
69
|
+
count?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Expand related entities
|
|
72
|
+
*/
|
|
73
|
+
expand?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Filter items by property values
|
|
76
|
+
*/
|
|
77
|
+
filter?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Order items by property values
|
|
80
|
+
*/
|
|
81
|
+
orderby?: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Search items by search phrases
|
|
84
|
+
*/
|
|
85
|
+
search?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Select properties to be returned
|
|
88
|
+
*/
|
|
89
|
+
select?: string[];
|
|
90
|
+
/**
|
|
91
|
+
* Skip the first n items
|
|
92
|
+
*/
|
|
93
|
+
skip?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Show only the first n items
|
|
96
|
+
*/
|
|
97
|
+
top?: number;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Metadata for all the navigation properties in the request builder.
|
|
101
|
+
*/
|
|
102
|
+
export declare const ContentTypesRequestBuilderNavigationMetadata: Record<Exclude<keyof ContentTypesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
103
|
+
/**
|
|
104
|
+
* Metadata for all the requests in the request builder.
|
|
105
|
+
*/
|
|
106
|
+
export declare const ContentTypesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
107
|
+
/**
|
|
108
|
+
* Uri template for the request builder.
|
|
109
|
+
*/
|
|
110
|
+
export declare const ContentTypesRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
111
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4H,KAAK,WAAW,EAAE,KAAK,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAEhO,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAA+G,KAAK,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACzM,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAqH,KAAK,0CAA0C,EAAE,MAAM,iCAAiC,CAAC;AACrN,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,SAAS,CAAC;AACvM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,yBAAyB,IAAI,uCAAuC,CAAC;IACzE;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,4BAA4B,IAAI,0CAA0C,CAAC;IAC/E;;;;OAIG;IACF,eAAe,CAAC,aAAa,EAAE,MAAM,GAAI,6BAA6B,CAAC;IACxE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACjK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC7H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;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;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAuBlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,4IAA4I,CAAC"}
|