@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
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Microsoft Graph
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -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/administrativeUnits/$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,0EAA0E,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/administrativeUnits/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type AdministrativeUnit, type BaseDeltaFunctionResponse } 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 deltaGetResponse
|
|
7
|
+
*/
|
|
8
|
+
export declare function createDeltaGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoDeltaGetResponse;
|
|
9
|
+
export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
10
|
+
/**
|
|
11
|
+
* The value property
|
|
12
|
+
*/
|
|
13
|
+
value?: AdministrativeUnit[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to call the delta method.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
|
+
/**
|
|
20
|
+
* Invoke function delta
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of DeltaGetResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Invoke function delta
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns a RequestInformation
|
|
29
|
+
*/
|
|
30
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Invoke function delta
|
|
34
|
+
*/
|
|
35
|
+
export interface DeltaRequestBuilderGetQueryParameters {
|
|
36
|
+
/**
|
|
37
|
+
* Include count of items
|
|
38
|
+
*/
|
|
39
|
+
count?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Filter items by property values
|
|
42
|
+
*/
|
|
43
|
+
filter?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Order items by property values
|
|
46
|
+
*/
|
|
47
|
+
orderby?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Search items by search phrases
|
|
50
|
+
*/
|
|
51
|
+
search?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Select properties to be returned
|
|
54
|
+
*/
|
|
55
|
+
select?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Skip the first n items
|
|
58
|
+
*/
|
|
59
|
+
skip?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Show only the first n items
|
|
62
|
+
*/
|
|
63
|
+
top?: number;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The deserialization information for the current model
|
|
67
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
68
|
+
*/
|
|
69
|
+
export declare function deserializeIntoDeltaGetResponse(deltaGetResponse?: DeltaGetResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
70
|
+
/**
|
|
71
|
+
* Serializes information the current object
|
|
72
|
+
* @param writer Serialization writer to use to serialize this model
|
|
73
|
+
*/
|
|
74
|
+
export declare function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse?: DeltaGetResponse | undefined): void;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const DeltaRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const DeltaRequestBuilderUriTemplate = "{+baseurl}/directory/administrativeUnits/delta(){?%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,EAA6J,KAAK,kBAAkB,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEpQ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElO;;;;GAIG;AACH,wBAAgB,4CAA4C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,0CAE5F;AACD,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB,EAAE,QAAQ;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AACD;;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,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;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,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,+BAA+B,CAAC,gBAAgB,GAAE,gBAAgB,GAAG,SAAkC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnK;AACD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,GAAE,gBAAgB,GAAG,SAAkC,GAAI,IAAI,CAGrJ;AAaD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,wHAAwH,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeltaRequestBuilderUriTemplate = exports.DeltaRequestBuilderRequestsMetadata = exports.serializeDeltaGetResponse = exports.deserializeIntoDeltaGetResponse = exports.createDeltaGetResponseFromDiscriminatorValue = 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 deltaGetResponse
|
|
13
|
+
*/
|
|
14
|
+
function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoDeltaGetResponse;
|
|
16
|
+
}
|
|
17
|
+
exports.createDeltaGetResponseFromDiscriminatorValue = createDeltaGetResponseFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoDeltaGetResponse(deltaGetResponse = {}) {
|
|
23
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseDeltaFunctionResponse)(deltaGetResponse)), { "value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues(models_1.createAdministrativeUnitFromDiscriminatorValue); } });
|
|
24
|
+
}
|
|
25
|
+
exports.deserializeIntoDeltaGetResponse = deserializeIntoDeltaGetResponse;
|
|
26
|
+
/**
|
|
27
|
+
* Serializes information the current object
|
|
28
|
+
* @param writer Serialization writer to use to serialize this model
|
|
29
|
+
*/
|
|
30
|
+
function serializeDeltaGetResponse(writer, deltaGetResponse = {}) {
|
|
31
|
+
(0, models_1.serializeBaseDeltaFunctionResponse)(writer, deltaGetResponse);
|
|
32
|
+
writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, models_1.serializeAdministrativeUnit);
|
|
33
|
+
}
|
|
34
|
+
exports.serializeDeltaGetResponse = serializeDeltaGetResponse;
|
|
35
|
+
/**
|
|
36
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
37
|
+
*/
|
|
38
|
+
const DeltaRequestBuilderGetQueryParametersMapper = {
|
|
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.DeltaRequestBuilderRequestsMetadata = {
|
|
51
|
+
get: {
|
|
52
|
+
responseBodyContentType: "application/json",
|
|
53
|
+
errorMappings: {
|
|
54
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
55
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "sendAsync",
|
|
58
|
+
responseBodyFactory: createDeltaGetResponseFromDiscriminatorValue,
|
|
59
|
+
queryParametersMapper: DeltaRequestBuilderGetQueryParametersMapper,
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
exports.DeltaRequestBuilderUriTemplate = "{+baseurl}/directory/administrativeUnits/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { type AdministrativeUnit, type AdministrativeUnitCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type DeltaRequestBuilder } from './delta/';
|
|
4
|
+
import { type AdministrativeUnitItemRequestBuilder } from './item/';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface AdministrativeUnitsRequestBuilder extends BaseRequestBuilder<AdministrativeUnitsRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to count the resources in the collection.
|
|
12
|
+
*/
|
|
13
|
+
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the delta method.
|
|
16
|
+
*/
|
|
17
|
+
get delta(): DeltaRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity.
|
|
20
|
+
* @param administrativeUnitId The unique identifier of administrativeUnit
|
|
21
|
+
* @returns a AdministrativeUnitItemRequestBuilder
|
|
22
|
+
*/
|
|
23
|
+
byAdministrativeUnitId(administrativeUnitId: string): AdministrativeUnitItemRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve a list of administrativeUnit objects.
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns a Promise of AdministrativeUnitCollectionResponse
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/directory-list-administrativeunits?view=graph-rest-1.0|Find more info here}
|
|
29
|
+
*/
|
|
30
|
+
get(requestConfiguration?: RequestConfiguration<AdministrativeUnitsRequestBuilderGetQueryParameters> | undefined): Promise<AdministrativeUnitCollectionResponse | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Use this API to create a new administrativeUnit.
|
|
33
|
+
* @param body The request body
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a Promise of AdministrativeUnit
|
|
36
|
+
* @see {@link https://learn.microsoft.com/graph/api/directory-post-administrativeunits?view=graph-rest-1.0|Find more info here}
|
|
37
|
+
*/
|
|
38
|
+
post(body: AdministrativeUnit, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdministrativeUnit | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve a list of administrativeUnit objects.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AdministrativeUnitsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Use this API to create a new administrativeUnit.
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns a RequestInformation
|
|
50
|
+
*/
|
|
51
|
+
toPostRequestInformation(body: AdministrativeUnit, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve a list of administrativeUnit objects.
|
|
55
|
+
*/
|
|
56
|
+
export interface AdministrativeUnitsRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Include count of items
|
|
59
|
+
*/
|
|
60
|
+
count?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Expand related entities
|
|
63
|
+
*/
|
|
64
|
+
expand?: string[];
|
|
65
|
+
/**
|
|
66
|
+
* Filter items by property values
|
|
67
|
+
*/
|
|
68
|
+
filter?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Order items by property values
|
|
71
|
+
*/
|
|
72
|
+
orderby?: string[];
|
|
73
|
+
/**
|
|
74
|
+
* Search items by search phrases
|
|
75
|
+
*/
|
|
76
|
+
search?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Select properties to be returned
|
|
79
|
+
*/
|
|
80
|
+
select?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Skip the first n items
|
|
83
|
+
*/
|
|
84
|
+
skip?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Show only the first n items
|
|
87
|
+
*/
|
|
88
|
+
top?: number;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Metadata for all the navigation properties in the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const AdministrativeUnitsRequestBuilderNavigationMetadata: Record<Exclude<keyof AdministrativeUnitsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the requests in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const AdministrativeUnitsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
98
|
+
/**
|
|
99
|
+
* Uri template for the request builder.
|
|
100
|
+
*/
|
|
101
|
+
export declare const AdministrativeUnitsRequestBuilderUriTemplate = "{+baseurl}/directory/administrativeUnits{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
102
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAEnQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiK,KAAK,oCAAoC,EAAE,MAAM,SAAS,CAAC;AACnO,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,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IAC/K;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;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,mDAAmD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iCAAiC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAehL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAuB/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,0HAA0H,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdministrativeUnitsRequestBuilderUriTemplate = exports.AdministrativeUnitsRequestBuilderRequestsMetadata = exports.AdministrativeUnitsRequestBuilderNavigationMetadata = 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
|
+
const delta_1 = require("./delta/");
|
|
11
|
+
const item_1 = require("./item/");
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const AdministrativeUnitsRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"count": "%24count",
|
|
17
|
+
"expand": "%24expand",
|
|
18
|
+
"filter": "%24filter",
|
|
19
|
+
"orderby": "%24orderby",
|
|
20
|
+
"search": "%24search",
|
|
21
|
+
"select": "%24select",
|
|
22
|
+
"skip": "%24skip",
|
|
23
|
+
"top": "%24top",
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the navigation properties in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
exports.AdministrativeUnitsRequestBuilderNavigationMetadata = {
|
|
29
|
+
byAdministrativeUnitId: {
|
|
30
|
+
uriTemplate: item_1.AdministrativeUnitItemRequestBuilderUriTemplate,
|
|
31
|
+
requestsMetadata: item_1.AdministrativeUnitItemRequestBuilderRequestsMetadata,
|
|
32
|
+
navigationMetadata: item_1.AdministrativeUnitItemRequestBuilderNavigationMetadata,
|
|
33
|
+
pathParametersMappings: ["administrativeUnit%2Did"],
|
|
34
|
+
},
|
|
35
|
+
count: {
|
|
36
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
37
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
38
|
+
},
|
|
39
|
+
delta: {
|
|
40
|
+
uriTemplate: delta_1.DeltaRequestBuilderUriTemplate,
|
|
41
|
+
requestsMetadata: delta_1.DeltaRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.AdministrativeUnitsRequestBuilderRequestsMetadata = {
|
|
48
|
+
get: {
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "sendAsync",
|
|
55
|
+
responseBodyFactory: models_1.createAdministrativeUnitCollectionResponseFromDiscriminatorValue,
|
|
56
|
+
queryParametersMapper: AdministrativeUnitsRequestBuilderGetQueryParametersMapper,
|
|
57
|
+
},
|
|
58
|
+
post: {
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
62
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
63
|
+
},
|
|
64
|
+
adapterMethodName: "sendAsync",
|
|
65
|
+
responseBodyFactory: models_1.createAdministrativeUnitFromDiscriminatorValue,
|
|
66
|
+
requestBodyContentType: "application/json",
|
|
67
|
+
requestBodySerializer: models_1.serializeAdministrativeUnit,
|
|
68
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Uri template for the request builder.
|
|
73
|
+
*/
|
|
74
|
+
exports.AdministrativeUnitsRequestBuilderUriTemplate = "{+baseurl}/directory/administrativeUnits{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
75
|
+
/* tslint:enable */
|
|
76
|
+
/* 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/administrativeUnits/{administrativeUnit%2Did}/extensions/$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,+GAA+G,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/administrativeUnits/{administrativeUnit%2Did}/extensions/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type Extension, type ExtensionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type ExtensionItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExtensionsRequestBuilder extends BaseRequestBuilder<ExtensionsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity.
|
|
15
|
+
* @param extensionId The unique identifier of extension
|
|
16
|
+
* @returns a ExtensionItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byExtensionId(extensionId: string): ExtensionItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The collection of open extensions defined for this administrative unit. Nullable.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of ExtensionCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<ExtensionsRequestBuilderGetQueryParameters> | undefined): Promise<ExtensionCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create new navigation property to extensions for directory
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of Extension
|
|
30
|
+
*/
|
|
31
|
+
post(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Extension | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The collection of open extensions defined for this administrative unit. Nullable.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExtensionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Create new navigation property to extensions for directory
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The collection of open extensions defined for this administrative unit. Nullable.
|
|
48
|
+
*/
|
|
49
|
+
export interface ExtensionsRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Include count of items
|
|
52
|
+
*/
|
|
53
|
+
count?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Expand related entities
|
|
56
|
+
*/
|
|
57
|
+
expand?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Filter items by property values
|
|
60
|
+
*/
|
|
61
|
+
filter?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Order items by property values
|
|
64
|
+
*/
|
|
65
|
+
orderby?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Search items by search phrases
|
|
68
|
+
*/
|
|
69
|
+
search?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Select properties to be returned
|
|
72
|
+
*/
|
|
73
|
+
select?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Skip the first n items
|
|
76
|
+
*/
|
|
77
|
+
skip?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Show only the first n items
|
|
80
|
+
*/
|
|
81
|
+
top?: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Metadata for all the navigation properties in the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const ExtensionsRequestBuilderNavigationMetadata: Record<Exclude<keyof ExtensionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const ExtensionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const ExtensionsRequestBuilderUriTemplate = "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/extensions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
95
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEtN,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuF,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAChJ,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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,aAAa,CAAC,WAAW,EAAE,MAAM,GAAI,2BAA2B,CAAC;IAClE;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;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,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,+JAA+J,CAAC"}
|