@microsoft/msgraph-sdk-directory 1.0.0-preview.55 → 1.0.0-preview.57

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.
Files changed (39) hide show
  1. package/README.md +189 -4
  2. package/directory/index.d.ts +5 -0
  3. package/directory/index.d.ts.map +1 -1
  4. package/directory/index.js +6 -0
  5. package/directory/index.js.map +1 -1
  6. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts +41 -0
  7. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts.map +1 -0
  8. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js +34 -0
  9. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js.map +1 -0
  10. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.d.ts +97 -0
  11. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.d.ts.map +1 -0
  12. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.js +71 -0
  13. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.js.map +1 -0
  14. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.d.ts +41 -0
  15. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.d.ts.map +1 -0
  16. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.js +34 -0
  17. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.js.map +1 -0
  18. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.d.ts +97 -0
  19. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.d.ts.map +1 -0
  20. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.js +70 -0
  21. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.js.map +1 -0
  22. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.d.ts +69 -0
  23. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.d.ts.map +1 -0
  24. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.js +55 -0
  25. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.js.map +1 -0
  26. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts +83 -0
  27. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts.map +1 -0
  28. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.js +71 -0
  29. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.js.map +1 -0
  30. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts +63 -0
  31. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts.map +1 -0
  32. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js +60 -0
  33. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js.map +1 -0
  34. package/directory/publicKeyInfrastructure/index.d.ts +78 -0
  35. package/directory/publicKeyInfrastructure/index.d.ts.map +1 -0
  36. package/directory/publicKeyInfrastructure/index.js +66 -0
  37. package/directory/publicKeyInfrastructure/index.js.map +1 -0
  38. package/package.json +2 -2
  39. package/tsconfig.tsbuildinfo +1 -1
package/README.md CHANGED
@@ -1,11 +1,196 @@
1
1
  # `@microsoft/msgraph-sdk-directory`
2
2
 
3
- > TODO: description
3
+ Get started with the Microsoft Graph SDK for TypeScript by integrating the [Microsoft Graph API](https://learn.microsoft.com/graph/overview) into your TypeScript application!
4
4
 
5
- ## Usage
5
+ This package provides a fluent API for interacting with Microsoft Graph administrative functions.
6
6
 
7
+ > [!NOTE]
8
+ > This package requires the `@microsoft/msgraph-sdk` package. It allows you to build applications using the [v1.0](https://learn.microsoft.com/graph/use-the-api#version) of Microsoft Graph. If you want to try the latest Microsoft Graph APIs, use our [beta SDK](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript) instead.
9
+
10
+
11
+ ## 1. Installation
12
+
13
+ To install the package, use npm:
14
+
15
+ ```shell
16
+ # this will install the main package
17
+ npm install @microsoft/msgraph-sdk
18
+ # this will install the authentication provider for Azure Identity / Microsoft Entra
19
+ npm install @microsoft/kiota-authentication-azure @azure/identity
20
+ # this will install the fluent API package for the administrative API paths
21
+ npm install @microsoft/msgraph-sdk-directory
7
22
  ```
8
- const msgraphSdkJavascriptDirectory = require('@microsoft/msgraph-sdk-directory');
9
23
 
10
- // TODO: DEMONSTRATE API
24
+ ## 2. Getting started
25
+
26
+ > Note: we are working to add the getting started information for Typescript to our public documentation, in the meantime the following sample should help you getting started.
27
+
28
+ ### 2.1 Register your application
29
+
30
+ Register your application by following the steps at [Register your app with the Microsoft Identity Platform](https://learn.microsoft.com/graph/auth-register-app-v2).
31
+
32
+ ### 2.2 Create an AuthenticationProvider object
33
+
34
+ An instance of the **GraphServiceClient** class handles building client. To create a new instance of this class, you need to provide an instance of **AuthenticationProvider**, which can authenticate requests to Microsoft Graph.
35
+
36
+ <!-- TODO restore that and remove the snippets below once the SDK hits GA and the public documentation has been updated -->
37
+ <!-- For an example of how to get an authentication provider, see [choose a Microsoft Graph authentication provider](https://learn.microsoft.com/graph/sdks/choose-authentication-providers?tabs=typescript). -->
38
+
39
+ #### 2.2.1 Authorization Code Provider
40
+
41
+ ```TypeScript
42
+ // @azure/identity
43
+ const credential = new AuthorizationCodeCredential(
44
+ 'YOUR_TENANT_ID',
45
+ 'YOUR_CLIENT_ID',
46
+ 'YOUR_CLIENT_SECRET',
47
+ 'AUTHORIZATION_CODE',
48
+ 'REDIRECT_URL',
49
+ );
50
+
51
+ // @microsoft/kiota-authentication-azure
52
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
11
53
  ```
54
+
55
+ #### 2.2.2 Client Credentials Provider
56
+
57
+ ##### With a certificate
58
+
59
+ ```TypeScript
60
+ // @azure/identity
61
+ const credential = new ClientCertificateCredential(
62
+ 'YOUR_TENANT_ID',
63
+ 'YOUR_CLIENT_ID',
64
+ 'YOUR_CERTIFICATE_PATH',
65
+ );
66
+
67
+ // @microsoft/kiota-authentication-azure
68
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
69
+ ```
70
+
71
+ ##### With a secret
72
+
73
+ ```TypeScript
74
+ // @azure/identity
75
+ const credential = new ClientSecretCredential(
76
+ 'YOUR_TENANT_ID',
77
+ 'YOUR_CLIENT_ID',
78
+ 'YOUR_CLIENT_SECRET',
79
+ );
80
+
81
+ // @microsoft/kiota-authentication-azure
82
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
83
+ ```
84
+
85
+ #### 2.2.3 On-behalf-of provider
86
+
87
+ ```TypeScript
88
+ // @azure/identity
89
+ const credential = new OnBehalfOfCredential({
90
+ tenantId: 'YOUR_TENANT_ID',
91
+ clientId: 'YOUR_CLIENT_ID',
92
+ clientSecret: 'YOUR_CLIENT_SECRET',
93
+ userAssertionToken: 'JWT_TOKEN_TO_EXCHANGE',
94
+ });
95
+
96
+ // @microsoft/kiota-authentication-azure
97
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
98
+ ```
99
+
100
+ #### 2.2.4 Device code provider
101
+
102
+ ```TypeScript
103
+ // @azure/identity
104
+ const credential = new DeviceCodeCredential({
105
+ tenantId: 'YOUR_TENANT_ID',
106
+ clientId: 'YOUR_CLIENT_ID',
107
+ userPromptCallback: (info) => {
108
+ console.log(info.message);
109
+ },
110
+ });
111
+
112
+ // @microsoft/kiota-authentication-azure
113
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
114
+ ```
115
+
116
+ #### 2.2.5 Interactive provider
117
+
118
+ ```TypeScript
119
+ // @azure/identity
120
+ const credential = new InteractiveBrowserCredential({
121
+ tenantId: 'YOUR_TENANT_ID',
122
+ clientId: 'YOUR_CLIENT_ID',
123
+ redirectUri: 'http://localhost',
124
+ });
125
+
126
+ // @microsoft/kiota-authentication-azure
127
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
128
+ ```
129
+
130
+ #### 2.2.6 Username/password provider
131
+
132
+ ```TypeScript
133
+ // @azure/identity
134
+ const credential = new UsernamePasswordCredential(
135
+ 'YOUR_TENANT_ID',
136
+ 'YOUR_CLIENT_ID',
137
+ 'YOUR_USER_NAME',
138
+ 'YOUR_PASSWORD',
139
+ );
140
+
141
+ // @microsoft/kiota-authentication-azure
142
+ const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
143
+ ```
144
+
145
+ ### 2.3 Get a Graph Service Client Adapter object
146
+
147
+ You must get a **GraphServiceClient** object to make requests against the service.
148
+
149
+ ```typescript
150
+ const requestAdapter = new GraphRequestAdapter(authProvider);
151
+ const graphServiceClient = createGraphServiceClient(requestAdapter);
152
+ ```
153
+
154
+ ## 3. Make requests against the service
155
+
156
+ After you have a **GraphServiceClient** that is authenticated, you can begin making calls against the service. The requests against the service look like our [REST API](https://learn.microsoft.com/graph/api/overview?view=graph-rest-1.0).
157
+
158
+ ### 3.1 Get user's detailed information
159
+
160
+ To retrieve the user's detailed information:
161
+
162
+ ```typescript
163
+ import { createGraphServiceClient, GraphRequestAdapter } from "@microsoft/msgraph-sdk";
164
+ import "@microsoft/msgraph-sdk-directory"
165
+
166
+ const requestAdapter = new GraphRequestAdapter(authProvider);
167
+ const graphServiceClient = createGraphServiceClient(requestAdapter);
168
+
169
+ const directory = graphServiceClient.directory.get();
170
+ ```
171
+
172
+ ## 4. Documentation
173
+
174
+ For more detailed documentation, see:
175
+
176
+ * [Overview](https://learn.microsoft.com/graph/overview)
177
+ * [Collections](https://learn.microsoft.com/graph/sdks/paging)
178
+ * [Making requests](https://learn.microsoft.com/graph/sdks/create-requests)
179
+ * [Known issues](https://github.com/MicrosoftGraph/msgraph-sdk-typescript/issues)
180
+ * [Contributions](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/CONTRIBUTING.md)
181
+
182
+ ## 5. Issues
183
+
184
+ For known issues, see [issues](https://github.com/MicrosoftGraph/msgraph-sdk-typescript/issues).
185
+
186
+ ## 6. Contributions
187
+
188
+ The Microsoft Graph SDK is open for contribution. To contribute to this project, see [Contributing](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/CONTRIBUTING.md).
189
+
190
+ ## 7. License
191
+
192
+ Licensed under the [MIT license](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/LICENSE).
193
+
194
+ ## 8. Third-party notices
195
+
196
+ [Third-party notices](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/LICENSE)
@@ -6,6 +6,7 @@ import { type DeletedItemsRequestBuilder } from './deletedItems/index.js';
6
6
  import { type DeviceLocalCredentialsRequestBuilder } from './deviceLocalCredentials/index.js';
7
7
  import { type FederationConfigurationsRequestBuilder } from './federationConfigurations/index.js';
8
8
  import { type OnPremisesSynchronizationRequestBuilder } from './onPremisesSynchronization/index.js';
9
+ import { type PublicKeyInfrastructureRequestBuilder } from './publicKeyInfrastructure/index.js';
9
10
  import { type SubscriptionsRequestBuilder } from './subscriptions/index.js';
10
11
  import { type SubscriptionsWithCommerceSubscriptionIdRequestBuilder } from './subscriptionsWithCommerceSubscriptionId/index.js';
11
12
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
@@ -41,6 +42,10 @@ export interface DirectoryRequestBuilder extends BaseRequestBuilder<DirectoryReq
41
42
  * Provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity.
42
43
  */
43
44
  get onPremisesSynchronization(): OnPremisesSynchronizationRequestBuilder;
45
+ /**
46
+ * Provides operations to manage the publicKeyInfrastructure property of the microsoft.graph.directory entity.
47
+ */
48
+ get publicKeyInfrastructure(): PublicKeyInfrastructureRequestBuilder;
44
49
  /**
45
50
  * Provides operations to manage the subscriptions property of the microsoft.graph.directory entity.
46
51
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6D,KAAK,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAInI,OAAO,EAA0G,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEhM,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAAwI,KAAK,gDAAgD,EAAE,MAAM,+CAA+C,CAAC;AAE5P,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEpK,OAAO,EAAgH,KAAK,oCAAoC,EAAE,MAAM,mCAAmC,CAAC;AAE5M,OAAO,EAAoH,KAAK,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AAEpN,OAAO,EAAsH,KAAK,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAExN,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAAyE,KAAK,qDAAqD,EAAE,MAAM,oDAAoD,CAAC;AAEvM,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;IAC7D;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CA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F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAyC5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
@@ -20,6 +20,8 @@ import { FederationConfigurationsRequestBuilderNavigationMetadata, FederationCon
20
20
  // @ts-ignore
21
21
  import { OnPremisesSynchronizationRequestBuilderNavigationMetadata, OnPremisesSynchronizationRequestBuilderRequestsMetadata } from './onPremisesSynchronization/index.js';
22
22
  // @ts-ignore
23
+ import { PublicKeyInfrastructureRequestBuilderNavigationMetadata, PublicKeyInfrastructureRequestBuilderRequestsMetadata } from './publicKeyInfrastructure/index.js';
24
+ // @ts-ignore
23
25
  import { SubscriptionsRequestBuilderNavigationMetadata, SubscriptionsRequestBuilderRequestsMetadata } from './subscriptions/index.js';
24
26
  // @ts-ignore
25
27
  import { SubscriptionsWithCommerceSubscriptionIdRequestBuilderRequestsMetadata } from './subscriptionsWithCommerceSubscriptionId/index.js';
@@ -70,6 +72,10 @@ export const DirectoryRequestBuilderNavigationMetadata = {
70
72
  requestsMetadata: OnPremisesSynchronizationRequestBuilderRequestsMetadata,
71
73
  navigationMetadata: OnPremisesSynchronizationRequestBuilderNavigationMetadata,
72
74
  },
75
+ publicKeyInfrastructure: {
76
+ requestsMetadata: PublicKeyInfrastructureRequestBuilderRequestsMetadata,
77
+ navigationMetadata: PublicKeyInfrastructureRequestBuilderNavigationMetadata,
78
+ },
73
79
  subscriptions: {
74
80
  requestsMetadata: SubscriptionsRequestBuilderRequestsMetadata,
75
81
  navigationMetadata: SubscriptionsRequestBuilderNavigationMetadata,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qCAAqC,EAAE,kBAAkB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D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kBAAkB;QACzC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,41 @@
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 {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,iHAAiH,CAAC;AAQ7J;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,8GAA8G,CAAC;AAC7J;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,97 @@
1
+ import { type CertificateBasedAuthPki, type CertificateBasedAuthPkiCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type CertificateBasedAuthPkiItemRequestBuilder } from './item/index.js';
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 certificateBasedAuthConfigurations property of the microsoft.graph.publicKeyInfrastructureRoot entity.
7
+ */
8
+ export interface CertificateBasedAuthConfigurationsRequestBuilder extends BaseRequestBuilder<CertificateBasedAuthConfigurationsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the certificateBasedAuthConfigurations property of the microsoft.graph.publicKeyInfrastructureRoot entity.
15
+ * @param certificateBasedAuthPkiId The unique identifier of certificateBasedAuthPki
16
+ * @returns {CertificateBasedAuthPkiItemRequestBuilder}
17
+ */
18
+ byCertificateBasedAuthPkiId(certificateBasedAuthPkiId: string): CertificateBasedAuthPkiItemRequestBuilder;
19
+ /**
20
+ * Get certificateBasedAuthConfigurations from directory
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<CertificateBasedAuthPkiCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<CertificateBasedAuthConfigurationsRequestBuilderGetQueryParameters> | undefined): Promise<CertificateBasedAuthPkiCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to certificateBasedAuthConfigurations for directory
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<CertificateBasedAuthPki>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: CertificateBasedAuthPki, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CertificateBasedAuthPki | undefined>;
34
+ /**
35
+ * Get certificateBasedAuthConfigurations from directory
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CertificateBasedAuthConfigurationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to certificateBasedAuthConfigurations for directory
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPostRequestInformation(body: CertificateBasedAuthPki, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get certificateBasedAuthConfigurations from directory
50
+ */
51
+ export interface CertificateBasedAuthConfigurationsRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const CertificateBasedAuthConfigurationsRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
89
+ /**
90
+ * Metadata for all the navigation properties in the request builder.
91
+ */
92
+ export declare const CertificateBasedAuthConfigurationsRequestBuilderNavigationMetadata: Record<Exclude<keyof CertificateBasedAuthConfigurationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const CertificateBasedAuthConfigurationsRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,uBAAuB,EAAE,KAAK,yCAAyC,EAAE,MAA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;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,2DAA2D,iKAAiK,CAAC;AAc1O;;GAEG;AACH,eAAO,MAAM,kEAAkE,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gDAAgD,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS9M,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBAuB9E,CAAC"}
@@ -0,0 +1,71 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createCertificateBasedAuthPkiCollectionResponseFromDiscriminatorValue, createCertificateBasedAuthPkiFromDiscriminatorValue, serializeCertificateBasedAuthPki } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { CertificateBasedAuthPkiItemRequestBuilderNavigationMetadata, CertificateBasedAuthPkiItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const CertificateBasedAuthConfigurationsRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const CertificateBasedAuthConfigurationsRequestBuilderGetQueryParametersMapper = {
20
+ "count": "%24count",
21
+ "expand": "%24expand",
22
+ "filter": "%24filter",
23
+ "orderby": "%24orderby",
24
+ "search": "%24search",
25
+ "select": "%24select",
26
+ "skip": "%24skip",
27
+ "top": "%24top",
28
+ };
29
+ /**
30
+ * Metadata for all the navigation properties in the request builder.
31
+ */
32
+ export const CertificateBasedAuthConfigurationsRequestBuilderNavigationMetadata = {
33
+ byCertificateBasedAuthPkiId: {
34
+ requestsMetadata: CertificateBasedAuthPkiItemRequestBuilderRequestsMetadata,
35
+ navigationMetadata: CertificateBasedAuthPkiItemRequestBuilderNavigationMetadata,
36
+ pathParametersMappings: ["certificateBasedAuthPki%2Did"],
37
+ },
38
+ count: {
39
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
40
+ },
41
+ };
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export const CertificateBasedAuthConfigurationsRequestBuilderRequestsMetadata = {
46
+ get: {
47
+ uriTemplate: CertificateBasedAuthConfigurationsRequestBuilderUriTemplate,
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ XXX: createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "send",
53
+ responseBodyFactory: createCertificateBasedAuthPkiCollectionResponseFromDiscriminatorValue,
54
+ queryParametersMapper: CertificateBasedAuthConfigurationsRequestBuilderGetQueryParametersMapper,
55
+ },
56
+ post: {
57
+ uriTemplate: CertificateBasedAuthConfigurationsRequestBuilderUriTemplate,
58
+ responseBodyContentType: "application/json",
59
+ errorMappings: {
60
+ XXX: createODataErrorFromDiscriminatorValue,
61
+ },
62
+ adapterMethodName: "send",
63
+ responseBodyFactory: createCertificateBasedAuthPkiFromDiscriminatorValue,
64
+ requestBodyContentType: "application/json",
65
+ requestBodySerializer: serializeCertificateBasedAuthPki,
66
+ requestInformationContentSetMethod: "setContentFromParsable",
67
+ },
68
+ };
69
+ /* tslint:enable */
70
+ /* eslint-enable */
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qEAAqE,EAAE,mDAAmD,EAAE,gCAAgC,EAAgF,MAAM,wCAAwC,CAAC;AACpS,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,2DAA2D,EAAE,yDAAyD,EAAkD,MAAM,iBAAiB,CAAC;AAoFzM;;GAEG;AACH,MAAM,CAAC,MAAM,2DAA2D,GAAG,8JAA8J,CAAC;AAC1O;;GAEG;AACH,MAAM,wEAAwE,GAA2B;IACrG,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kEAAkE,GAAoI;IAC/M,2BAA2B,EAAE;QACzB,gBAAgB,EAAE,yDAAyD;QAC3E,kBAAkB,EAAE,2DAA2D;QAC/E,sBAAsB,EAAE,CAAC,8BAA8B,CAAC;KAC3D;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gEAAgE,GAAqB;IAC9F,GAAG,EAAE;QACD,WAAW,EAAE,2DAA2D;QACxE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qEAAqE;QAC3F,qBAAqB,EAAE,wEAAwE;KAClG;IACD,IAAI,EAAE;QACF,WAAW,EAAE,2DAA2D;QACxE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,41 @@
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 {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/certificateAuthorities/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,uKAAuK,CAAC;AAQnN;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/certificateAuthorities/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,oKAAoK,CAAC;AACnN;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}