@microsoft/msgraph-sdk-serviceprincipals 1.0.0-preview.64 → 1.0.0-preview.66
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/package.json +2 -2
- package/servicePrincipals/item/createdObjects/index.d.ts +4 -3
- package/servicePrincipals/item/createdObjects/index.d.ts.map +1 -1
- package/servicePrincipals/item/createdObjects/index.js.map +1 -1
- package/servicePrincipals/item/ownedObjects/index.d.ts +4 -3
- package/servicePrincipals/item/ownedObjects/index.d.ts.map +1 -1
- package/servicePrincipals/item/ownedObjects/index.js.map +1 -1
- package/servicePrincipals/item/tokenIssuancePolicies/index.d.ts +6 -1
- package/servicePrincipals/item/tokenIssuancePolicies/index.d.ts.map +1 -1
- package/servicePrincipals/item/tokenIssuancePolicies/index.js +7 -2
- package/servicePrincipals/item/tokenIssuancePolicies/index.js.map +1 -1
- package/servicePrincipals/item/tokenIssuancePolicies/item/index.d.ts +8 -30
- package/servicePrincipals/item/tokenIssuancePolicies/item/index.d.ts.map +1 -1
- package/servicePrincipals/item/tokenIssuancePolicies/item/index.js +6 -22
- package/servicePrincipals/item/tokenIssuancePolicies/item/index.js.map +1 -1
- package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.d.ts +27 -0
- package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.d.ts.map +1 -0
- package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.js +25 -0
- package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.js.map +1 -0
- package/servicePrincipals/item/tokenIssuancePolicies/ref/index.d.ts +93 -0
- package/servicePrincipals/item/tokenIssuancePolicies/ref/index.d.ts.map +1 -0
- package/servicePrincipals/item/tokenIssuancePolicies/ref/index.js +66 -0
- package/servicePrincipals/item/tokenIssuancePolicies/ref/index.js.map +1 -0
- package/servicePrincipals/item/tokenLifetimePolicies/index.d.ts +6 -1
- package/servicePrincipals/item/tokenLifetimePolicies/index.d.ts.map +1 -1
- package/servicePrincipals/item/tokenLifetimePolicies/index.js +7 -2
- package/servicePrincipals/item/tokenLifetimePolicies/index.js.map +1 -1
- package/servicePrincipals/item/tokenLifetimePolicies/item/index.d.ts +8 -30
- package/servicePrincipals/item/tokenLifetimePolicies/item/index.d.ts.map +1 -1
- package/servicePrincipals/item/tokenLifetimePolicies/item/index.js +6 -22
- package/servicePrincipals/item/tokenLifetimePolicies/item/index.js.map +1 -1
- package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.d.ts +28 -0
- package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.d.ts.map +1 -0
- package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.js +25 -0
- package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.js.map +1 -0
- package/servicePrincipals/item/tokenLifetimePolicies/ref/index.d.ts +96 -0
- package/servicePrincipals/item/tokenLifetimePolicies/ref/index.d.ts.map +1 -0
- package/servicePrincipals/item/tokenLifetimePolicies/ref/index.js +66 -0
- package/servicePrincipals/item/tokenLifetimePolicies/ref/index.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,42 +1,20 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type BaseRequestBuilder, type
|
|
1
|
+
import { type RefRequestBuilder } from './ref/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Builds and executes requests for operations under /servicePrincipals/{servicePrincipal-id}/tokenLifetimePolicies/{tokenLifetimePolicy-id}
|
|
5
5
|
*/
|
|
6
6
|
export interface TokenLifetimePolicyItemRequestBuilder extends BaseRequestBuilder<TokenLifetimePolicyItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<TokenLifetimePolicy>}
|
|
11
|
-
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
8
|
+
* Provides operations to manage the collection of servicePrincipal entities.
|
|
12
9
|
*/
|
|
13
|
-
get(
|
|
14
|
-
/**
|
|
15
|
-
* The tokenLifetimePolicies assigned to this service principal.
|
|
16
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
-
* @returns {RequestInformation}
|
|
18
|
-
*/
|
|
19
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TokenLifetimePolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* The tokenLifetimePolicies assigned to this service principal.
|
|
23
|
-
*/
|
|
24
|
-
export interface TokenLifetimePolicyItemRequestBuilderGetQueryParameters {
|
|
25
|
-
/**
|
|
26
|
-
* Expand related entities
|
|
27
|
-
*/
|
|
28
|
-
expand?: string[];
|
|
29
|
-
/**
|
|
30
|
-
* Select properties to be returned
|
|
31
|
-
*/
|
|
32
|
-
select?: string[];
|
|
10
|
+
get ref(): RefRequestBuilder;
|
|
33
11
|
}
|
|
34
12
|
/**
|
|
35
13
|
* Uri template for the request builder.
|
|
36
14
|
*/
|
|
37
|
-
export declare const TokenLifetimePolicyItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}
|
|
15
|
+
export declare const TokenLifetimePolicyItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}";
|
|
38
16
|
/**
|
|
39
|
-
* Metadata for all the
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
40
18
|
*/
|
|
41
|
-
export declare const
|
|
19
|
+
export declare const TokenLifetimePolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof TokenLifetimePolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
42
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;CAChC;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,0GAA0G,CAAC;AACxK;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIxL,CAAC"}
|
|
@@ -2,33 +2,17 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
5
|
+
import { RefRequestBuilderRequestsMetadata } from './ref/index.js';
|
|
8
6
|
/**
|
|
9
7
|
* Uri template for the request builder.
|
|
10
8
|
*/
|
|
11
|
-
export const TokenLifetimePolicyItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}
|
|
12
|
-
/**
|
|
13
|
-
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
-
*/
|
|
15
|
-
const TokenLifetimePolicyItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
-
"expand": "%24expand",
|
|
17
|
-
"select": "%24select",
|
|
18
|
-
};
|
|
9
|
+
export const TokenLifetimePolicyItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}";
|
|
19
10
|
/**
|
|
20
|
-
* Metadata for all the
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
21
12
|
*/
|
|
22
|
-
export const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
responseBodyContentType: "application/json",
|
|
26
|
-
errorMappings: {
|
|
27
|
-
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
-
},
|
|
29
|
-
adapterMethodName: "send",
|
|
30
|
-
responseBodyFactory: createTokenLifetimePolicyFromDiscriminatorValue,
|
|
31
|
-
queryParametersMapper: TokenLifetimePolicyItemRequestBuilderGetQueryParametersMapper,
|
|
13
|
+
export const TokenLifetimePolicyItemRequestBuilderNavigationMetadata = {
|
|
14
|
+
ref: {
|
|
15
|
+
requestsMetadata: RefRequestBuilderRequestsMetadata,
|
|
32
16
|
},
|
|
33
17
|
};
|
|
34
18
|
/* tslint:enable */
|
|
@@ -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
|
|
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,iCAAiC,EAA0B,MAAM,gBAAgB,CAAC;AAa3F;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,uGAAuG,CAAC;AACxK;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAyH;IACzL,GAAG,EAAE;QACD,gBAAgB,EAAE,iCAAiC;KACtD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the collection of servicePrincipal entities.
|
|
4
|
+
*/
|
|
5
|
+
export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Remove a tokenLifetimePolicy object from a service principal.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceprincipal-delete-tokenlifetimepolicies?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Remove a tokenLifetimePolicy object from a service principal.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# 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,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrH;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,+GAA+G,CAAC;AACzJ;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAS/C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 RefRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const RefRequestBuilderRequestsMetadata = {
|
|
14
|
+
delete: {
|
|
15
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
adapterMethodName: "sendNoResponseContent",
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/* tslint:enable */
|
|
24
|
+
/* eslint-enable */
|
|
25
|
+
//# 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;AAsB7H;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,4GAA4G,CAAC;AACzJ;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAqB;IAC/D,MAAM,EAAE;QACJ,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type ReferenceCreate, type StringCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the collection of servicePrincipal entities.
|
|
5
|
+
*/
|
|
6
|
+
export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Remove a tokenLifetimePolicy object from a service principal.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceprincipal-delete-tokenlifetimepolicies?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
delete(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<StringCollectionResponse>}
|
|
18
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceprincipal-list-tokenlifetimepolicies?view=graph-rest-1.0|Find more info here}
|
|
20
|
+
*/
|
|
21
|
+
get(requestConfiguration?: RequestConfiguration<RefRequestBuilderGetQueryParameters> | undefined): Promise<StringCollectionResponse | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal.
|
|
24
|
+
* @param body The request body
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
27
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceprincipal-post-tokenlifetimepolicies?view=graph-rest-1.0|Find more info here}
|
|
28
|
+
*/
|
|
29
|
+
post(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Remove a tokenLifetimePolicy object from a service principal.
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {RequestInformation}
|
|
34
|
+
*/
|
|
35
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): RequestInformation;
|
|
36
|
+
/**
|
|
37
|
+
* List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {RequestInformation}
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal.
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Remove a tokenLifetimePolicy object from a service principal.
|
|
52
|
+
*/
|
|
53
|
+
export interface RefRequestBuilderDeleteQueryParameters {
|
|
54
|
+
/**
|
|
55
|
+
* The delete Uri
|
|
56
|
+
*/
|
|
57
|
+
id?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal.
|
|
61
|
+
*/
|
|
62
|
+
export interface RefRequestBuilderGetQueryParameters {
|
|
63
|
+
/**
|
|
64
|
+
* Include count of items
|
|
65
|
+
*/
|
|
66
|
+
count?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Filter items by property values
|
|
69
|
+
*/
|
|
70
|
+
filter?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Order items by property values
|
|
73
|
+
*/
|
|
74
|
+
orderby?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Search items by search phrases
|
|
77
|
+
*/
|
|
78
|
+
search?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Skip the first n items
|
|
81
|
+
*/
|
|
82
|
+
skip?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Show only the first n items
|
|
85
|
+
*/
|
|
86
|
+
top?: number;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Uri template for the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}";
|
|
92
|
+
/**
|
|
93
|
+
* Metadata for all the requests in the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkF,KAAK,eAAe,EAAE,KAAK,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAI7L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzH;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9G;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;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,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,yJAAyJ,CAAC;AAkBnM;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBA+B/C,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createStringCollectionResponseFromDiscriminatorValue, serializeReferenceCreate } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const RefRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const RefRequestBuilderDeleteQueryParametersMapper = {
|
|
16
|
+
"id": "%40id",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
20
|
+
*/
|
|
21
|
+
const RefRequestBuilderGetQueryParametersMapper = {
|
|
22
|
+
"count": "%24count",
|
|
23
|
+
"filter": "%24filter",
|
|
24
|
+
"orderby": "%24orderby",
|
|
25
|
+
"search": "%24search",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const RefRequestBuilderRequestsMetadata = {
|
|
33
|
+
delete: {
|
|
34
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
35
|
+
responseBodyContentType: "application/json",
|
|
36
|
+
errorMappings: {
|
|
37
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
38
|
+
},
|
|
39
|
+
adapterMethodName: "sendNoResponseContent",
|
|
40
|
+
queryParametersMapper: RefRequestBuilderDeleteQueryParametersMapper,
|
|
41
|
+
},
|
|
42
|
+
get: {
|
|
43
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "send",
|
|
49
|
+
responseBodyFactory: createStringCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: RefRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendNoResponseContent",
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeReferenceCreate,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# 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,oDAAoD,EAAE,wBAAwB,EAAuD,MAAM,wCAAwC,CAAC;AAC7L,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAyF7H;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,sJAAsJ,CAAC;AACnM;;GAEG;AACH,MAAM,4CAA4C,GAA2B;IACzE,IAAI,EAAE,OAAO;CAChB,CAAC;AACF;;GAEG;AACH,MAAM,yCAAyC,GAA2B;IACtE,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAqB;IAC/D,MAAM,EAAE;QACJ,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,qBAAqB,EAAE,4CAA4C;KACtE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,qBAAqB,EAAE,yCAAyC;KACnE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,wBAAwB;QAC/C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|