@microsoft/msgraph-sdk-directory 1.0.0-preview.55 → 1.0.0-preview.58
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/README.md +186 -4
- package/directory/index.d.ts +5 -0
- package/directory/index.d.ts.map +1 -1
- package/directory/index.js +6 -0
- package/directory/index.js.map +1 -1
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts +41 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js +34 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.d.ts +97 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.js +71 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.d.ts +41 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.js +34 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.d.ts +97 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.js +70 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.d.ts +69 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.js +55 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts +83 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.js +71 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts +63 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js +60 -0
- package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js.map +1 -0
- package/directory/publicKeyInfrastructure/index.d.ts +78 -0
- package/directory/publicKeyInfrastructure/index.d.ts.map +1 -0
- package/directory/publicKeyInfrastructure/index.js +66 -0
- package/directory/publicKeyInfrastructure/index.js.map +1 -0
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,193 @@
|
|
|
1
1
|
# `@microsoft/msgraph-sdk-directory`
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
5
|
+
This package provides a fluent API for interacting with Microsoft Graph administrative functions.
|
|
6
6
|
|
|
7
|
+
> [!NOTE]
|
|
8
|
+
> This package 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
|
+
## 1. Installation
|
|
11
|
+
|
|
12
|
+
To install the package, use npm:
|
|
13
|
+
|
|
14
|
+
```shell
|
|
15
|
+
# this will install the authentication provider for Azure Identity / Microsoft Entra
|
|
16
|
+
npm install @microsoft/kiota-authentication-azure @azure/identity
|
|
17
|
+
# this will install the fluent API package for the administrative API paths
|
|
18
|
+
npm install @microsoft/msgraph-sdk-directory
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## 2. Getting started
|
|
22
|
+
|
|
23
|
+
> 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.
|
|
24
|
+
|
|
25
|
+
### 2.1 Register your application
|
|
26
|
+
|
|
27
|
+
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).
|
|
28
|
+
|
|
29
|
+
### 2.2 Create an AuthenticationProvider object
|
|
30
|
+
|
|
31
|
+
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.
|
|
32
|
+
|
|
33
|
+
<!-- TODO restore that and remove the snippets below once the SDK hits GA and the public documentation has been updated -->
|
|
34
|
+
<!-- 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). -->
|
|
35
|
+
|
|
36
|
+
#### 2.2.1 Authorization Code Provider
|
|
37
|
+
|
|
38
|
+
```TypeScript
|
|
39
|
+
// @azure/identity
|
|
40
|
+
const credential = new AuthorizationCodeCredential(
|
|
41
|
+
'YOUR_TENANT_ID',
|
|
42
|
+
'YOUR_CLIENT_ID',
|
|
43
|
+
'YOUR_CLIENT_SECRET',
|
|
44
|
+
'AUTHORIZATION_CODE',
|
|
45
|
+
'REDIRECT_URL',
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
// @microsoft/kiota-authentication-azure
|
|
49
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### 2.2.2 Client Credentials Provider
|
|
53
|
+
|
|
54
|
+
##### With a certificate
|
|
55
|
+
|
|
56
|
+
```TypeScript
|
|
57
|
+
// @azure/identity
|
|
58
|
+
const credential = new ClientCertificateCredential(
|
|
59
|
+
'YOUR_TENANT_ID',
|
|
60
|
+
'YOUR_CLIENT_ID',
|
|
61
|
+
'YOUR_CERTIFICATE_PATH',
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
// @microsoft/kiota-authentication-azure
|
|
65
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
##### With a secret
|
|
69
|
+
|
|
70
|
+
```TypeScript
|
|
71
|
+
// @azure/identity
|
|
72
|
+
const credential = new ClientSecretCredential(
|
|
73
|
+
'YOUR_TENANT_ID',
|
|
74
|
+
'YOUR_CLIENT_ID',
|
|
75
|
+
'YOUR_CLIENT_SECRET',
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
// @microsoft/kiota-authentication-azure
|
|
79
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
#### 2.2.3 On-behalf-of provider
|
|
83
|
+
|
|
84
|
+
```TypeScript
|
|
85
|
+
// @azure/identity
|
|
86
|
+
const credential = new OnBehalfOfCredential({
|
|
87
|
+
tenantId: 'YOUR_TENANT_ID',
|
|
88
|
+
clientId: 'YOUR_CLIENT_ID',
|
|
89
|
+
clientSecret: 'YOUR_CLIENT_SECRET',
|
|
90
|
+
userAssertionToken: 'JWT_TOKEN_TO_EXCHANGE',
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// @microsoft/kiota-authentication-azure
|
|
94
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
#### 2.2.4 Device code provider
|
|
98
|
+
|
|
99
|
+
```TypeScript
|
|
100
|
+
// @azure/identity
|
|
101
|
+
const credential = new DeviceCodeCredential({
|
|
102
|
+
tenantId: 'YOUR_TENANT_ID',
|
|
103
|
+
clientId: 'YOUR_CLIENT_ID',
|
|
104
|
+
userPromptCallback: (info) => {
|
|
105
|
+
console.log(info.message);
|
|
106
|
+
},
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
// @microsoft/kiota-authentication-azure
|
|
110
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
#### 2.2.5 Interactive provider
|
|
114
|
+
|
|
115
|
+
```TypeScript
|
|
116
|
+
// @azure/identity
|
|
117
|
+
const credential = new InteractiveBrowserCredential({
|
|
118
|
+
tenantId: 'YOUR_TENANT_ID',
|
|
119
|
+
clientId: 'YOUR_CLIENT_ID',
|
|
120
|
+
redirectUri: 'http://localhost',
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
// @microsoft/kiota-authentication-azure
|
|
124
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
7
125
|
```
|
|
8
|
-
const msgraphSdkJavascriptDirectory = require('@microsoft/msgraph-sdk-directory');
|
|
9
126
|
|
|
10
|
-
|
|
127
|
+
#### 2.2.6 Username/password provider
|
|
128
|
+
|
|
129
|
+
```TypeScript
|
|
130
|
+
// @azure/identity
|
|
131
|
+
const credential = new UsernamePasswordCredential(
|
|
132
|
+
'YOUR_TENANT_ID',
|
|
133
|
+
'YOUR_CLIENT_ID',
|
|
134
|
+
'YOUR_USER_NAME',
|
|
135
|
+
'YOUR_PASSWORD',
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
// @microsoft/kiota-authentication-azure
|
|
139
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### 2.3 Get a Graph Service Client Adapter object
|
|
143
|
+
|
|
144
|
+
You must get a **GraphServiceClient** object to make requests against the service.
|
|
145
|
+
|
|
146
|
+
```typescript
|
|
147
|
+
const requestAdapter = new GraphRequestAdapter(authProvider);
|
|
148
|
+
const graphServiceClient = createGraphServiceClient(requestAdapter);
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## 3. Make requests against the service
|
|
152
|
+
|
|
153
|
+
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).
|
|
154
|
+
|
|
155
|
+
### 3.1 Get user's detailed information
|
|
156
|
+
|
|
157
|
+
To retrieve the user's detailed information:
|
|
158
|
+
|
|
159
|
+
```typescript
|
|
160
|
+
import { createGraphServiceClient, GraphRequestAdapter } from "@microsoft/msgraph-sdk";
|
|
161
|
+
import "@microsoft/msgraph-sdk-directory"
|
|
162
|
+
|
|
163
|
+
const requestAdapter = new GraphRequestAdapter(authProvider);
|
|
164
|
+
const graphServiceClient = createGraphServiceClient(requestAdapter);
|
|
165
|
+
|
|
166
|
+
const directory = graphServiceClient.directory.get();
|
|
11
167
|
```
|
|
168
|
+
|
|
169
|
+
## 4. Documentation
|
|
170
|
+
|
|
171
|
+
For more detailed documentation, see:
|
|
172
|
+
|
|
173
|
+
* [Overview](https://learn.microsoft.com/graph/overview)
|
|
174
|
+
* [Collections](https://learn.microsoft.com/graph/sdks/paging)
|
|
175
|
+
* [Making requests](https://learn.microsoft.com/graph/sdks/create-requests)
|
|
176
|
+
* [Known issues](https://github.com/MicrosoftGraph/msgraph-sdk-typescript/issues)
|
|
177
|
+
* [Contributions](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/CONTRIBUTING.md)
|
|
178
|
+
|
|
179
|
+
## 5. Issues
|
|
180
|
+
|
|
181
|
+
For known issues, see [issues](https://github.com/MicrosoftGraph/msgraph-sdk-typescript/issues).
|
|
182
|
+
|
|
183
|
+
## 6. Contributions
|
|
184
|
+
|
|
185
|
+
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).
|
|
186
|
+
|
|
187
|
+
## 7. License
|
|
188
|
+
|
|
189
|
+
Licensed under the [MIT license](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/LICENSE).
|
|
190
|
+
|
|
191
|
+
## 8. Third-party notices
|
|
192
|
+
|
|
193
|
+
[Third-party notices](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/LICENSE)
|
package/directory/index.d.ts
CHANGED
|
@@ -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
|
*/
|
package/directory/index.d.ts.map
CHANGED
|
@@ -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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MAAM,kCAAkC,+CAA+C,CAAC;AAQ/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"}
|
package/directory/index.js
CHANGED
|
@@ -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,
|
package/directory/index.js.map
CHANGED
|
@@ -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,EAAkB,MAAM,wCAAwC,CAAC;AACnI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mDAAmD,EAAE,iDAAiD,EAA0C,MAAM,gCAAgC,CAAC;AAChM,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACxK,aAAa;AACb,OAAO,EAAE,kEAAkE,EAAE,gEAAgE,EAAyD,MAAM,+CAA+C,CAAC;AAC5P,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAmC,MAAM,yBAAyB,CAAC;AACpK,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,oDAAoD,EAA6C,MAAM,mCAAmC,CAAC;AAC5M,aAAa;AACb,OAAO,EAAE,wDAAwD,EAAE,sDAAsD,EAA+C,MAAM,qCAAqC,CAAC;AACpN,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,uDAAuD,EAAgD,MAAM,sCAAsC,CAAC;AACxN,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACxK,aAAa;AACb,OAAO,EAAE,qEAAqE,EAA8D,MAAM,oDAAoD,CAAC;
|
|
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,EAAkB,MAAM,wCAAwC,CAAC;AACnI,aAAa;AACb,OAAO,EA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;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
|
package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts.map
ADDED
|
@@ -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
|
package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js.map
ADDED
|
@@ -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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AkE;IAC/E;;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,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"}
|