@microsoft/msgraph-sdk-directory 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/directory/administrativeUnits/count/index.d.ts +40 -0
- package/directory/administrativeUnits/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/count/index.js +35 -0
- package/directory/administrativeUnits/delta/index.d.ts +83 -0
- package/directory/administrativeUnits/delta/index.d.ts.map +1 -0
- package/directory/administrativeUnits/delta/index.js +67 -0
- package/directory/administrativeUnits/index.d.ts +102 -0
- package/directory/administrativeUnits/index.d.ts.map +1 -0
- package/directory/administrativeUnits/index.js +76 -0
- package/directory/administrativeUnits/item/extensions/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/extensions/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/extensions/count/index.js +35 -0
- package/directory/administrativeUnits/item/extensions/index.d.ts +95 -0
- package/directory/administrativeUnits/item/extensions/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/extensions/index.js +70 -0
- package/directory/administrativeUnits/item/extensions/item/index.d.ts +66 -0
- package/directory/administrativeUnits/item/extensions/item/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/extensions/item/index.js +56 -0
- package/directory/administrativeUnits/item/index.d.ts +88 -0
- package/directory/administrativeUnits/item/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/index.js +79 -0
- package/directory/administrativeUnits/item/members/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphApplication/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/graphApplication/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphApplication/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphApplication/index.d.ts +74 -0
- package/directory/administrativeUnits/item/members/graphApplication/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphApplication/index.js +52 -0
- package/directory/administrativeUnits/item/members/graphDevice/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/graphDevice/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphDevice/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphDevice/index.d.ts +74 -0
- package/directory/administrativeUnits/item/members/graphDevice/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphDevice/index.js +52 -0
- package/directory/administrativeUnits/item/members/graphGroup/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/graphGroup/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphGroup/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphGroup/index.d.ts +74 -0
- package/directory/administrativeUnits/item/members/graphGroup/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphGroup/index.js +52 -0
- package/directory/administrativeUnits/item/members/graphOrgContact/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/graphOrgContact/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphOrgContact/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphOrgContact/index.d.ts +74 -0
- package/directory/administrativeUnits/item/members/graphOrgContact/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphOrgContact/index.js +52 -0
- package/directory/administrativeUnits/item/members/graphServicePrincipal/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/graphServicePrincipal/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphServicePrincipal/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphServicePrincipal/index.d.ts +74 -0
- package/directory/administrativeUnits/item/members/graphServicePrincipal/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphServicePrincipal/index.js +52 -0
- package/directory/administrativeUnits/item/members/graphUser/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/members/graphUser/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphUser/count/index.js +35 -0
- package/directory/administrativeUnits/item/members/graphUser/index.d.ts +74 -0
- package/directory/administrativeUnits/item/members/graphUser/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/graphUser/index.js +52 -0
- package/directory/administrativeUnits/item/members/index.d.ts +132 -0
- package/directory/administrativeUnits/item/members/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/index.js +111 -0
- package/directory/administrativeUnits/item/members/item/graphApplication/index.d.ts +41 -0
- package/directory/administrativeUnits/item/members/item/graphApplication/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/graphApplication/index.js +36 -0
- package/directory/administrativeUnits/item/members/item/graphDevice/index.d.ts +41 -0
- package/directory/administrativeUnits/item/members/item/graphDevice/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/graphDevice/index.js +36 -0
- package/directory/administrativeUnits/item/members/item/graphGroup/index.d.ts +41 -0
- package/directory/administrativeUnits/item/members/item/graphGroup/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/graphGroup/index.js +36 -0
- package/directory/administrativeUnits/item/members/item/graphOrgContact/index.d.ts +41 -0
- package/directory/administrativeUnits/item/members/item/graphOrgContact/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/graphOrgContact/index.js +36 -0
- package/directory/administrativeUnits/item/members/item/graphServicePrincipal/index.d.ts +41 -0
- package/directory/administrativeUnits/item/members/item/graphServicePrincipal/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/graphServicePrincipal/index.js +36 -0
- package/directory/administrativeUnits/item/members/item/graphUser/index.d.ts +41 -0
- package/directory/administrativeUnits/item/members/item/graphUser/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/graphUser/index.js +36 -0
- package/directory/administrativeUnits/item/members/item/index.d.ts +50 -0
- package/directory/administrativeUnits/item/members/item/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/index.js +52 -0
- package/directory/administrativeUnits/item/members/item/ref/index.d.ts +36 -0
- package/directory/administrativeUnits/item/members/item/ref/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/item/ref/index.js +33 -0
- package/directory/administrativeUnits/item/members/ref/index.d.ts +72 -0
- package/directory/administrativeUnits/item/members/ref/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/members/ref/index.js +51 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/count/index.d.ts +40 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/count/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/count/index.js +35 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/index.d.ts +97 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/index.js +70 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/item/index.d.ts +68 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/item/index.d.ts.map +1 -0
- package/directory/administrativeUnits/item/scopedRoleMembers/item/index.js +56 -0
- package/directory/attributeSets/count/index.d.ts +40 -0
- package/directory/attributeSets/count/index.d.ts.map +1 -0
- package/directory/attributeSets/count/index.js +35 -0
- package/directory/attributeSets/index.d.ts +97 -0
- package/directory/attributeSets/index.d.ts.map +1 -0
- package/directory/attributeSets/index.js +70 -0
- package/directory/attributeSets/item/index.d.ts +68 -0
- package/directory/attributeSets/item/index.d.ts.map +1 -0
- package/directory/attributeSets/item/index.js +56 -0
- package/directory/customSecurityAttributeDefinitions/count/index.d.ts +40 -0
- package/directory/customSecurityAttributeDefinitions/count/index.d.ts.map +1 -0
- package/directory/customSecurityAttributeDefinitions/count/index.js +35 -0
- package/directory/customSecurityAttributeDefinitions/index.d.ts +97 -0
- package/directory/customSecurityAttributeDefinitions/index.d.ts.map +1 -0
- package/directory/customSecurityAttributeDefinitions/index.js +71 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/count/index.d.ts +40 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/count/index.d.ts.map +1 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/count/index.js +35 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.d.ts +97 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.d.ts.map +1 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.js +70 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.d.ts +68 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.d.ts.map +1 -0
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.js +56 -0
- package/directory/customSecurityAttributeDefinitions/item/index.d.ts +77 -0
- package/directory/customSecurityAttributeDefinitions/item/index.d.ts.map +1 -0
- package/directory/customSecurityAttributeDefinitions/item/index.js +67 -0
- package/directory/deletedItems/count/index.d.ts +40 -0
- package/directory/deletedItems/count/index.d.ts.map +1 -0
- package/directory/deletedItems/count/index.js +35 -0
- package/directory/deletedItems/getAvailableExtensionProperties/index.d.ts +83 -0
- package/directory/deletedItems/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/directory/deletedItems/getAvailableExtensionProperties/index.js +86 -0
- package/directory/deletedItems/getByIds/index.d.ts +87 -0
- package/directory/deletedItems/getByIds/index.d.ts.map +1 -0
- package/directory/deletedItems/getByIds/index.js +88 -0
- package/directory/deletedItems/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/directory/deletedItems/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/directory/deletedItems/graphAdministrativeUnit/count/index.js +35 -0
- package/directory/deletedItems/graphAdministrativeUnit/index.d.ts +74 -0
- package/directory/deletedItems/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/directory/deletedItems/graphAdministrativeUnit/index.js +52 -0
- package/directory/deletedItems/graphApplication/count/index.d.ts +40 -0
- package/directory/deletedItems/graphApplication/count/index.d.ts.map +1 -0
- package/directory/deletedItems/graphApplication/count/index.js +35 -0
- package/directory/deletedItems/graphApplication/index.d.ts +74 -0
- package/directory/deletedItems/graphApplication/index.d.ts.map +1 -0
- package/directory/deletedItems/graphApplication/index.js +52 -0
- package/directory/deletedItems/graphDevice/count/index.d.ts +40 -0
- package/directory/deletedItems/graphDevice/count/index.d.ts.map +1 -0
- package/directory/deletedItems/graphDevice/count/index.js +35 -0
- package/directory/deletedItems/graphDevice/index.d.ts +74 -0
- package/directory/deletedItems/graphDevice/index.d.ts.map +1 -0
- package/directory/deletedItems/graphDevice/index.js +52 -0
- package/directory/deletedItems/graphGroup/count/index.d.ts +40 -0
- package/directory/deletedItems/graphGroup/count/index.d.ts.map +1 -0
- package/directory/deletedItems/graphGroup/count/index.js +35 -0
- package/directory/deletedItems/graphGroup/index.d.ts +74 -0
- package/directory/deletedItems/graphGroup/index.d.ts.map +1 -0
- package/directory/deletedItems/graphGroup/index.js +52 -0
- package/directory/deletedItems/graphServicePrincipal/count/index.d.ts +40 -0
- package/directory/deletedItems/graphServicePrincipal/count/index.d.ts.map +1 -0
- package/directory/deletedItems/graphServicePrincipal/count/index.js +35 -0
- package/directory/deletedItems/graphServicePrincipal/index.d.ts +74 -0
- package/directory/deletedItems/graphServicePrincipal/index.d.ts.map +1 -0
- package/directory/deletedItems/graphServicePrincipal/index.js +52 -0
- package/directory/deletedItems/graphUser/count/index.d.ts +40 -0
- package/directory/deletedItems/graphUser/count/index.d.ts.map +1 -0
- package/directory/deletedItems/graphUser/count/index.js +35 -0
- package/directory/deletedItems/graphUser/index.d.ts +74 -0
- package/directory/deletedItems/graphUser/index.d.ts.map +1 -0
- package/directory/deletedItems/graphUser/index.js +52 -0
- package/directory/deletedItems/index.d.ts +126 -0
- package/directory/deletedItems/index.d.ts.map +1 -0
- package/directory/deletedItems/index.js +110 -0
- package/directory/deletedItems/item/checkMemberGroups/index.d.ts +83 -0
- package/directory/deletedItems/item/checkMemberGroups/index.d.ts.map +1 -0
- package/directory/deletedItems/item/checkMemberGroups/index.js +86 -0
- package/directory/deletedItems/item/checkMemberObjects/index.d.ts +82 -0
- package/directory/deletedItems/item/checkMemberObjects/index.d.ts.map +1 -0
- package/directory/deletedItems/item/checkMemberObjects/index.js +86 -0
- package/directory/deletedItems/item/getMemberGroups/index.d.ts +83 -0
- package/directory/deletedItems/item/getMemberGroups/index.d.ts.map +1 -0
- package/directory/deletedItems/item/getMemberGroups/index.js +86 -0
- package/directory/deletedItems/item/getMemberObjects/index.d.ts +83 -0
- package/directory/deletedItems/item/getMemberObjects/index.d.ts.map +1 -0
- package/directory/deletedItems/item/getMemberObjects/index.js +86 -0
- package/directory/deletedItems/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/directory/deletedItems/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/directory/deletedItems/item/graphAdministrativeUnit/index.js +36 -0
- package/directory/deletedItems/item/graphApplication/index.d.ts +41 -0
- package/directory/deletedItems/item/graphApplication/index.d.ts.map +1 -0
- package/directory/deletedItems/item/graphApplication/index.js +36 -0
- package/directory/deletedItems/item/graphDevice/index.d.ts +41 -0
- package/directory/deletedItems/item/graphDevice/index.d.ts.map +1 -0
- package/directory/deletedItems/item/graphDevice/index.js +36 -0
- package/directory/deletedItems/item/graphGroup/index.d.ts +41 -0
- package/directory/deletedItems/item/graphGroup/index.d.ts.map +1 -0
- package/directory/deletedItems/item/graphGroup/index.js +36 -0
- package/directory/deletedItems/item/graphServicePrincipal/index.d.ts +41 -0
- package/directory/deletedItems/item/graphServicePrincipal/index.d.ts.map +1 -0
- package/directory/deletedItems/item/graphServicePrincipal/index.js +36 -0
- package/directory/deletedItems/item/graphUser/index.d.ts +41 -0
- package/directory/deletedItems/item/graphUser/index.d.ts.map +1 -0
- package/directory/deletedItems/item/graphUser/index.js +36 -0
- package/directory/deletedItems/item/index.d.ts +113 -0
- package/directory/deletedItems/item/index.d.ts.map +1 -0
- package/directory/deletedItems/item/index.js +104 -0
- package/directory/deletedItems/item/restore/index.d.ts +29 -0
- package/directory/deletedItems/item/restore/index.d.ts.map +1 -0
- package/directory/deletedItems/item/restore/index.js +28 -0
- package/directory/deletedItems/validateProperties/index.d.ts +72 -0
- package/directory/deletedItems/validateProperties/index.d.ts.map +1 -0
- package/directory/deletedItems/validateProperties/index.js +64 -0
- package/directory/deviceLocalCredentials/count/index.d.ts +40 -0
- package/directory/deviceLocalCredentials/count/index.d.ts.map +1 -0
- package/directory/deviceLocalCredentials/count/index.js +35 -0
- package/directory/deviceLocalCredentials/index.d.ts +88 -0
- package/directory/deviceLocalCredentials/index.d.ts.map +1 -0
- package/directory/deviceLocalCredentials/index.js +68 -0
- package/directory/deviceLocalCredentials/item/index.d.ts +63 -0
- package/directory/deviceLocalCredentials/item/index.d.ts.map +1 -0
- package/directory/deviceLocalCredentials/item/index.js +55 -0
- package/directory/federationConfigurations/availableProviderTypes/index.d.ts +75 -0
- package/directory/federationConfigurations/availableProviderTypes/index.d.ts.map +1 -0
- package/directory/federationConfigurations/availableProviderTypes/index.js +65 -0
- package/directory/federationConfigurations/count/index.d.ts +40 -0
- package/directory/federationConfigurations/count/index.d.ts.map +1 -0
- package/directory/federationConfigurations/count/index.js +35 -0
- package/directory/federationConfigurations/index.d.ts +100 -0
- package/directory/federationConfigurations/index.d.ts.map +1 -0
- package/directory/federationConfigurations/index.js +75 -0
- package/directory/federationConfigurations/item/index.d.ts +67 -0
- package/directory/federationConfigurations/item/index.d.ts.map +1 -0
- package/directory/federationConfigurations/item/index.js +56 -0
- package/directory/index.d.ts +94 -0
- package/directory/index.d.ts.map +1 -0
- package/directory/index.js +95 -0
- package/directory/onPremisesSynchronization/count/index.d.ts +40 -0
- package/directory/onPremisesSynchronization/count/index.d.ts.map +1 -0
- package/directory/onPremisesSynchronization/count/index.js +35 -0
- package/directory/onPremisesSynchronization/index.d.ts +95 -0
- package/directory/onPremisesSynchronization/index.d.ts.map +1 -0
- package/directory/onPremisesSynchronization/index.js +70 -0
- package/directory/onPremisesSynchronization/item/index.d.ts +68 -0
- package/directory/onPremisesSynchronization/item/index.d.ts.map +1 -0
- package/directory/onPremisesSynchronization/item/index.js +56 -0
- package/directoryServiceClient.d.ts +25 -0
- package/directoryServiceClient.d.ts.map +1 -0
- package/directoryServiceClient.js +49 -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/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -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}/directory/deletedItems/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type ExtensionProperty } 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
|
+
/**
|
|
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 getAvailableExtensionPropertiesPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
|
|
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 getAvailableExtensionPropertiesPostResponse
|
|
13
|
+
*/
|
|
14
|
+
export declare function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetAvailableExtensionPropertiesPostResponse;
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
18
|
+
*/
|
|
19
|
+
export declare function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody?: GetAvailableExtensionPropertiesPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
20
|
+
/**
|
|
21
|
+
* The deserialization information for the current model
|
|
22
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
23
|
+
*/
|
|
24
|
+
export declare function deserializeIntoGetAvailableExtensionPropertiesPostResponse(getAvailableExtensionPropertiesPostResponse?: GetAvailableExtensionPropertiesPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
25
|
+
export interface GetAvailableExtensionPropertiesPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
26
|
+
/**
|
|
27
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
28
|
+
*/
|
|
29
|
+
additionalData?: Record<string, unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* Stores model information.
|
|
32
|
+
*/
|
|
33
|
+
backingStoreEnabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The isSyncedFromOnPremises property
|
|
36
|
+
*/
|
|
37
|
+
isSyncedFromOnPremises?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
40
|
+
/**
|
|
41
|
+
* The value property
|
|
42
|
+
*/
|
|
43
|
+
value?: ExtensionProperty[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Provides operations to call the getAvailableExtensionProperties method.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetAvailableExtensionPropertiesRequestBuilder extends BaseRequestBuilder<GetAvailableExtensionPropertiesRequestBuilder> {
|
|
49
|
+
/**
|
|
50
|
+
* Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
|
|
51
|
+
* @param body The request body
|
|
52
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
+
* @returns a Promise of GetAvailableExtensionPropertiesPostResponse
|
|
54
|
+
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-getavailableextensionproperties?view=graph-rest-1.0|Find more info here}
|
|
55
|
+
*/
|
|
56
|
+
post(body: GetAvailableExtensionPropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetAvailableExtensionPropertiesPostResponse | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
|
|
59
|
+
* @param body The request body
|
|
60
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
|
+
* @returns a RequestInformation
|
|
62
|
+
*/
|
|
63
|
+
toPostRequestInformation(body: GetAvailableExtensionPropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Serializes information the current object
|
|
67
|
+
* @param writer Serialization writer to use to serialize this model
|
|
68
|
+
*/
|
|
69
|
+
export declare function serializeGetAvailableExtensionPropertiesPostRequestBody(writer: SerializationWriter, getAvailableExtensionPropertiesPostRequestBody?: GetAvailableExtensionPropertiesPostRequestBody | undefined): void;
|
|
70
|
+
/**
|
|
71
|
+
* Serializes information the current object
|
|
72
|
+
* @param writer Serialization writer to use to serialize this model
|
|
73
|
+
*/
|
|
74
|
+
export declare function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse?: GetAvailableExtensionPropertiesPostResponse | undefined): void;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const GetAvailableExtensionPropertiesRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/getAvailableExtensionProperties";
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmL,KAAK,qCAAqC,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAErS,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,0EAA0E,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,wEAE1H;AACD;;;;GAIG;AACH,wBAAgB,uEAAuE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,qEAEvH;AACD;;;GAGG;AACH,wBAAgB,6DAA6D,CAAC,8CAA8C,GAAE,8CAA8C,GAAG,SAAgE,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3R;AACD;;;GAGG;AACH,wBAAgB,0DAA0D,CAAC,2CAA2C,GAAE,2CAA2C,GAAG,SAA6D,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/Q;AACD,MAAM,WAAW,8CAA+C,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC/G;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACpC;AACD,MAAM,WAAW,2CAA4C,SAAQ,qCAAqC,EAAE,QAAQ;IAChH;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AACD;;GAEG;AACH,MAAM,WAAW,6CAA8C,SAAQ,kBAAkB,CAAC,6CAA6C,CAAC;IACpI;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,8CAA8C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAChM;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,8CAA8C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzK;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,MAAM,EAAE,mBAAmB,EAAE,8CAA8C,GAAE,8CAA8C,GAAG,SAAgE,GAAI,IAAI,CAG7Q;AACD;;;GAGG;AACH,wBAAgB,oDAAoD,CAAC,MAAM,EAAE,mBAAmB,EAAE,2CAA2C,GAAE,2CAA2C,GAAG,SAA6D,GAAI,IAAI,CAGjQ;AACD;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBAa3E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,sEAAsE,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = exports.serializeGetAvailableExtensionPropertiesPostResponse = exports.serializeGetAvailableExtensionPropertiesPostRequestBody = exports.deserializeIntoGetAvailableExtensionPropertiesPostResponse = exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue = 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 getAvailableExtensionPropertiesPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue = createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns a getAvailableExtensionPropertiesPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoGetAvailableExtensionPropertiesPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { getAvailableExtensionPropertiesPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"isSyncedFromOnPremises": n => { getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises = n.getBooleanValue(); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoGetAvailableExtensionPropertiesPostResponse(getAvailableExtensionPropertiesPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getAvailableExtensionPropertiesPostResponse)), { "value": n => { getAvailableExtensionPropertiesPostResponse.value = n.getCollectionOfObjectValues(models_1.createExtensionPropertyFromDiscriminatorValue); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoGetAvailableExtensionPropertiesPostResponse = deserializeIntoGetAvailableExtensionPropertiesPostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeGetAvailableExtensionPropertiesPostRequestBody(writer, getAvailableExtensionPropertiesPostRequestBody = {}) {
|
|
51
|
+
writer.writeBooleanValue("isSyncedFromOnPremises", getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises);
|
|
52
|
+
writer.writeAdditionalData(getAvailableExtensionPropertiesPostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeGetAvailableExtensionPropertiesPostRequestBody = serializeGetAvailableExtensionPropertiesPostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeGetAvailableExtensionPropertiesPostResponse(writer, getAvailableExtensionPropertiesPostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getAvailableExtensionPropertiesPostResponse);
|
|
61
|
+
writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, models_1.serializeExtensionProperty);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeGetAvailableExtensionPropertiesPostResponse = serializeGetAvailableExtensionPropertiesPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = {
|
|
68
|
+
post: {
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
72
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
|
+
},
|
|
74
|
+
adapterMethodName: "sendAsync",
|
|
75
|
+
responseBodyFactory: createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue,
|
|
76
|
+
requestBodyContentType: "application/json",
|
|
77
|
+
requestBodySerializer: serializeGetAvailableExtensionPropertiesPostRequestBody,
|
|
78
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Uri template for the request builder.
|
|
83
|
+
*/
|
|
84
|
+
exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/getAvailableExtensionProperties";
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type DirectoryObject } 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
|
+
/**
|
|
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 getByIdsPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetByIdsPostRequestBody;
|
|
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 getByIdsPostResponse
|
|
13
|
+
*/
|
|
14
|
+
export declare function createGetByIdsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetByIdsPostResponse;
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
18
|
+
*/
|
|
19
|
+
export declare function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody?: GetByIdsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
20
|
+
/**
|
|
21
|
+
* The deserialization information for the current model
|
|
22
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
23
|
+
*/
|
|
24
|
+
export declare function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse?: GetByIdsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
25
|
+
export interface GetByIdsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
26
|
+
/**
|
|
27
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
28
|
+
*/
|
|
29
|
+
additionalData?: Record<string, unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* Stores model information.
|
|
32
|
+
*/
|
|
33
|
+
backingStoreEnabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The ids property
|
|
36
|
+
*/
|
|
37
|
+
ids?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* The types property
|
|
40
|
+
*/
|
|
41
|
+
types?: string[];
|
|
42
|
+
}
|
|
43
|
+
export interface GetByIdsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
44
|
+
/**
|
|
45
|
+
* The value property
|
|
46
|
+
*/
|
|
47
|
+
value?: DirectoryObject[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Provides operations to call the getByIds method.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetByIdsRequestBuilder extends BaseRequestBuilder<GetByIdsRequestBuilder> {
|
|
53
|
+
/**
|
|
54
|
+
* Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to:
|
|
55
|
+
* @param body The request body
|
|
56
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
57
|
+
* @returns a Promise of GetByIdsPostResponse
|
|
58
|
+
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0|Find more info here}
|
|
59
|
+
*/
|
|
60
|
+
post(body: GetByIdsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetByIdsPostResponse | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to:
|
|
63
|
+
* @param body The request body
|
|
64
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
65
|
+
* @returns a RequestInformation
|
|
66
|
+
*/
|
|
67
|
+
toPostRequestInformation(body: GetByIdsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Serializes information the current object
|
|
71
|
+
* @param writer Serialization writer to use to serialize this model
|
|
72
|
+
*/
|
|
73
|
+
export declare function serializeGetByIdsPostRequestBody(writer: SerializationWriter, getByIdsPostRequestBody?: GetByIdsPostRequestBody | undefined): void;
|
|
74
|
+
/**
|
|
75
|
+
* Serializes information the current object
|
|
76
|
+
* @param writer Serialization writer to use to serialize this model
|
|
77
|
+
*/
|
|
78
|
+
export declare function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse?: GetByIdsPostResponse | undefined): void;
|
|
79
|
+
/**
|
|
80
|
+
* Metadata for all the requests in the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const GetByIdsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
83
|
+
/**
|
|
84
|
+
* Uri template for the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const GetByIdsRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/getByIds";
|
|
87
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+K,KAAK,qCAAqC,EAAE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE/R,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,mDAAmD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,iDAEnG;AACD;;;;GAIG;AACH,wBAAgB,gDAAgD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,8CAEhG;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM/L;AACD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,oBAAoB,GAAE,oBAAoB,GAAG,SAAsC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnL;AACD,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACxF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD,MAAM,WAAW,oBAAqB,SAAQ,qCAAqC,EAAE,QAAQ;IACzF;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B;AACD;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,mBAAmB,EAAE,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,IAAI,CAIjL;AACD;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,mBAAmB,EAAE,oBAAoB,GAAE,oBAAoB,GAAG,SAAsC,GAAI,IAAI,CAGrK;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAapD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetByIdsRequestBuilderUriTemplate = exports.GetByIdsRequestBuilderRequestsMetadata = exports.serializeGetByIdsPostResponse = exports.serializeGetByIdsPostRequestBody = exports.deserializeIntoGetByIdsPostResponse = exports.deserializeIntoGetByIdsPostRequestBody = exports.createGetByIdsPostResponseFromDiscriminatorValue = exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = 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 getByIdsPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoGetByIdsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = createGetByIdsPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns a getByIdsPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createGetByIdsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoGetByIdsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createGetByIdsPostResponseFromDiscriminatorValue = createGetByIdsPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { getByIdsPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"ids": n => { getByIdsPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
35
|
+
"types": n => { getByIdsPostRequestBody.types = n.getCollectionOfPrimitiveValues(); },
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.deserializeIntoGetByIdsPostRequestBody = deserializeIntoGetByIdsPostRequestBody;
|
|
39
|
+
/**
|
|
40
|
+
* The deserialization information for the current model
|
|
41
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
42
|
+
*/
|
|
43
|
+
function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse = {}) {
|
|
44
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getByIdsPostResponse)), { "value": n => { getByIdsPostResponse.value = n.getCollectionOfObjectValues(models_1.createDirectoryObjectFromDiscriminatorValue); } });
|
|
45
|
+
}
|
|
46
|
+
exports.deserializeIntoGetByIdsPostResponse = deserializeIntoGetByIdsPostResponse;
|
|
47
|
+
/**
|
|
48
|
+
* Serializes information the current object
|
|
49
|
+
* @param writer Serialization writer to use to serialize this model
|
|
50
|
+
*/
|
|
51
|
+
function serializeGetByIdsPostRequestBody(writer, getByIdsPostRequestBody = {}) {
|
|
52
|
+
writer.writeCollectionOfPrimitiveValues("ids", getByIdsPostRequestBody.ids);
|
|
53
|
+
writer.writeCollectionOfPrimitiveValues("types", getByIdsPostRequestBody.types);
|
|
54
|
+
writer.writeAdditionalData(getByIdsPostRequestBody.additionalData);
|
|
55
|
+
}
|
|
56
|
+
exports.serializeGetByIdsPostRequestBody = serializeGetByIdsPostRequestBody;
|
|
57
|
+
/**
|
|
58
|
+
* Serializes information the current object
|
|
59
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60
|
+
*/
|
|
61
|
+
function serializeGetByIdsPostResponse(writer, getByIdsPostResponse = {}) {
|
|
62
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getByIdsPostResponse);
|
|
63
|
+
writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, models_1.serializeDirectoryObject);
|
|
64
|
+
}
|
|
65
|
+
exports.serializeGetByIdsPostResponse = serializeGetByIdsPostResponse;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.GetByIdsRequestBuilderRequestsMetadata = {
|
|
70
|
+
post: {
|
|
71
|
+
responseBodyContentType: "application/json",
|
|
72
|
+
errorMappings: {
|
|
73
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
74
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
|
+
},
|
|
76
|
+
adapterMethodName: "sendAsync",
|
|
77
|
+
responseBodyFactory: createGetByIdsPostResponseFromDiscriminatorValue,
|
|
78
|
+
requestBodyContentType: "application/json",
|
|
79
|
+
requestBodySerializer: serializeGetByIdsPostRequestBody,
|
|
80
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Uri template for the request builder.
|
|
85
|
+
*/
|
|
86
|
+
exports.GetByIdsRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/getByIds";
|
|
87
|
+
/* tslint:enable */
|
|
88
|
+
/* 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}/directory/deletedItems/graph.administrativeUnit/$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}/directory/deletedItems/graph.administrativeUnit/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type AdministrativeUnitCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to administrativeUnit.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder<GraphAdministrativeUnitRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of AdministrativeUnitCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphAdministrativeUnitRequestBuilderGetQueryParameters> | undefined): Promise<AdministrativeUnitCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a RequestInformation
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphAdministrativeUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphAdministrativeUnitRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Include count of items
|
|
31
|
+
*/
|
|
32
|
+
count?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Expand related entities
|
|
35
|
+
*/
|
|
36
|
+
expand?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Filter items by property values
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Order items by property values
|
|
43
|
+
*/
|
|
44
|
+
orderby?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Search items by search phrases
|
|
47
|
+
*/
|
|
48
|
+
search?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Select properties to be returned
|
|
51
|
+
*/
|
|
52
|
+
select?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Skip the first n items
|
|
55
|
+
*/
|
|
56
|
+
skip?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Show only the first n items
|
|
59
|
+
*/
|
|
60
|
+
top?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const GraphAdministrativeUnitRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphAdministrativeUnitRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphAdministrativeUnitRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphAdministrativeUnitRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/graph.administrativeUnit{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAE7J,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACnL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;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,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAWnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,4IAA4I,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphAdministrativeUnitRequestBuilderUriTemplate = exports.GraphAdministrativeUnitRequestBuilderRequestsMetadata = exports.GraphAdministrativeUnitRequestBuilderNavigationMetadata = 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
|
+
const count_1 = require("./count/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const GraphAdministrativeUnitRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"count": "%24count",
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"filter": "%24filter",
|
|
17
|
+
"orderby": "%24orderby",
|
|
18
|
+
"search": "%24search",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
"skip": "%24skip",
|
|
21
|
+
"top": "%24top",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.GraphAdministrativeUnitRequestBuilderNavigationMetadata = {
|
|
27
|
+
count: {
|
|
28
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.GraphAdministrativeUnitRequestBuilderRequestsMetadata = {
|
|
36
|
+
get: {
|
|
37
|
+
responseBodyContentType: "application/json",
|
|
38
|
+
errorMappings: {
|
|
39
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
},
|
|
42
|
+
adapterMethodName: "sendAsync",
|
|
43
|
+
responseBodyFactory: models_1.createAdministrativeUnitCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: GraphAdministrativeUnitRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.GraphAdministrativeUnitRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/graph.administrativeUnit{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* 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}/directory/deletedItems/graph.application/$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,qFAAqF,CAAC"}
|