@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.
Files changed (40) hide show
  1. package/package.json +2 -2
  2. package/servicePrincipals/item/createdObjects/index.d.ts +4 -3
  3. package/servicePrincipals/item/createdObjects/index.d.ts.map +1 -1
  4. package/servicePrincipals/item/createdObjects/index.js.map +1 -1
  5. package/servicePrincipals/item/ownedObjects/index.d.ts +4 -3
  6. package/servicePrincipals/item/ownedObjects/index.d.ts.map +1 -1
  7. package/servicePrincipals/item/ownedObjects/index.js.map +1 -1
  8. package/servicePrincipals/item/tokenIssuancePolicies/index.d.ts +6 -1
  9. package/servicePrincipals/item/tokenIssuancePolicies/index.d.ts.map +1 -1
  10. package/servicePrincipals/item/tokenIssuancePolicies/index.js +7 -2
  11. package/servicePrincipals/item/tokenIssuancePolicies/index.js.map +1 -1
  12. package/servicePrincipals/item/tokenIssuancePolicies/item/index.d.ts +8 -30
  13. package/servicePrincipals/item/tokenIssuancePolicies/item/index.d.ts.map +1 -1
  14. package/servicePrincipals/item/tokenIssuancePolicies/item/index.js +6 -22
  15. package/servicePrincipals/item/tokenIssuancePolicies/item/index.js.map +1 -1
  16. package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.d.ts +27 -0
  17. package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.d.ts.map +1 -0
  18. package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.js +25 -0
  19. package/servicePrincipals/item/tokenIssuancePolicies/item/ref/index.js.map +1 -0
  20. package/servicePrincipals/item/tokenIssuancePolicies/ref/index.d.ts +93 -0
  21. package/servicePrincipals/item/tokenIssuancePolicies/ref/index.d.ts.map +1 -0
  22. package/servicePrincipals/item/tokenIssuancePolicies/ref/index.js +66 -0
  23. package/servicePrincipals/item/tokenIssuancePolicies/ref/index.js.map +1 -0
  24. package/servicePrincipals/item/tokenLifetimePolicies/index.d.ts +6 -1
  25. package/servicePrincipals/item/tokenLifetimePolicies/index.d.ts.map +1 -1
  26. package/servicePrincipals/item/tokenLifetimePolicies/index.js +7 -2
  27. package/servicePrincipals/item/tokenLifetimePolicies/index.js.map +1 -1
  28. package/servicePrincipals/item/tokenLifetimePolicies/item/index.d.ts +8 -30
  29. package/servicePrincipals/item/tokenLifetimePolicies/item/index.d.ts.map +1 -1
  30. package/servicePrincipals/item/tokenLifetimePolicies/item/index.js +6 -22
  31. package/servicePrincipals/item/tokenLifetimePolicies/item/index.js.map +1 -1
  32. package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.d.ts +28 -0
  33. package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.d.ts.map +1 -0
  34. package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.js +25 -0
  35. package/servicePrincipals/item/tokenLifetimePolicies/item/ref/index.js.map +1 -0
  36. package/servicePrincipals/item/tokenLifetimePolicies/ref/index.d.ts +96 -0
  37. package/servicePrincipals/item/tokenLifetimePolicies/ref/index.d.ts.map +1 -0
  38. package/servicePrincipals/item/tokenLifetimePolicies/ref/index.js +66 -0
  39. package/servicePrincipals/item/tokenLifetimePolicies/ref/index.js.map +1 -0
  40. package/tsconfig.tsbuildinfo +1 -1
@@ -1,42 +1,20 @@
1
- import { type TokenLifetimePolicy } from '@microsoft/msgraph-sdk/models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
1
+ import { type RefRequestBuilder } from './ref/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
- * Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity.
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
- * The tokenLifetimePolicies assigned to this service principal.
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(requestConfiguration?: RequestConfiguration<TokenLifetimePolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<TokenLifetimePolicy | undefined>;
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}{?%24expand,%24select}";
15
+ export declare const TokenLifetimePolicyItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}";
38
16
  /**
39
- * Metadata for all the requests in the request builder.
17
+ * Metadata for all the navigation properties in the request builder.
40
18
  */
41
- export declare const TokenLifetimePolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
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,EAAmD,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAInI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,gIAAgI,CAAC;AAQ9L;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAWnE,CAAC"}
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 { createTokenLifetimePolicyFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
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}{?%24expand,%24select}";
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 requests in the request builder.
11
+ * Metadata for all the navigation properties in the request builder.
21
12
  */
22
- export const TokenLifetimePolicyItemRequestBuilderRequestsMetadata = {
23
- get: {
24
- uriTemplate: TokenLifetimePolicyItemRequestBuilderUriTemplate,
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,+CAA+C,EAA4B,MAAM,wCAAwC,CAAC;AACnI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,6HAA6H,CAAC;AAC9L;;GAEG;AACH,MAAM,6DAA6D,GAA2B;IAC1F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAqB;IACnF,GAAG,EAAE;QACD,WAAW,EAAE,gDAAgD;QAC7D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,qBAAqB,EAAE,6DAA6D;KACvF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
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"}