@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
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type CertificateAuthorityDetail, type CertificateAuthorityDetailCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type CertificateAuthorityDetailItemRequestBuilder } 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 certificateAuthorities property of the microsoft.graph.certificateBasedAuthPki entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface CertificateAuthoritiesRequestBuilder extends BaseRequestBuilder<CertificateAuthoritiesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the certificateAuthorities property of the microsoft.graph.certificateBasedAuthPki entity.
|
|
15
|
+
* @param certificateAuthorityDetailId The unique identifier of certificateAuthorityDetail
|
|
16
|
+
* @returns {CertificateAuthorityDetailItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byCertificateAuthorityDetailId(certificateAuthorityDetailId: string): CertificateAuthorityDetailItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get certificateAuthorities from directory
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<CertificateAuthorityDetailCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<CertificateAuthoritiesRequestBuilderGetQueryParameters> | undefined): Promise<CertificateAuthorityDetailCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to certificateAuthorities 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<CertificateAuthorityDetail>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
*/
|
|
33
|
+
post(body: CertificateAuthorityDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CertificateAuthorityDetail | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Get certificateAuthorities 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<CertificateAuthoritiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create new navigation property to certificateAuthorities 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: CertificateAuthorityDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get certificateAuthorities from directory
|
|
50
|
+
*/
|
|
51
|
+
export interface CertificateAuthoritiesRequestBuilderGetQueryParameters {
|
|
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 CertificateAuthoritiesRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/certificateAuthorities{?%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 CertificateAuthoritiesRequestBuilderNavigationMetadata: Record<Exclude<keyof CertificateAuthoritiesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const CertificateAuthoritiesRequestBuilderRequestsMetadata: 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,EAAyK,KAAK,0BAA0B,EAAE,KAAK,4CAA4C,EAAE,MAAM,wCAAwC,CAAC;AAInT,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAgE,KAAK,4CAA4C,EAAE,MAAM,iBAAiB,CAAC;AAElJ,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,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,8BAA8B,CAAC,4BAA4B,EAAE,MAAM,GAAI,4CAA4C,CAAC;IACrH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,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0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCertificateAuthorityDetailCollectionResponseFromDiscriminatorValue, createCertificateAuthorityDetailFromDiscriminatorValue, serializeCertificateAuthorityDetail } 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 { CertificateAuthorityDetailItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const CertificateAuthoritiesRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/certificateAuthorities{?%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 CertificateAuthoritiesRequestBuilderGetQueryParametersMapper = {
|
|
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 CertificateAuthoritiesRequestBuilderNavigationMetadata = {
|
|
33
|
+
byCertificateAuthorityDetailId: {
|
|
34
|
+
requestsMetadata: CertificateAuthorityDetailItemRequestBuilderRequestsMetadata,
|
|
35
|
+
pathParametersMappings: ["certificateAuthorityDetail%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const CertificateAuthoritiesRequestBuilderRequestsMetadata = {
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: CertificateAuthoritiesRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: createCertificateAuthorityDetailCollectionResponseFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: CertificateAuthoritiesRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
post: {
|
|
56
|
+
uriTemplate: CertificateAuthoritiesRequestBuilderUriTemplate,
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "send",
|
|
62
|
+
responseBodyFactory: createCertificateAuthorityDetailFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: serializeCertificateAuthorityDetail,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACp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AC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,mCAAmC;QAC1D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type CertificateAuthorityDetail } 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 certificateAuthorities property of the microsoft.graph.certificateBasedAuthPki entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface CertificateAuthorityDetailItemRequestBuilder extends BaseRequestBuilder<CertificateAuthorityDetailItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property certificateAuthorities for directory
|
|
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
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get certificateAuthorities from directory
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<CertificateAuthorityDetail>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<CertificateAuthorityDetailItemRequestBuilderGetQueryParameters> | undefined): Promise<CertificateAuthorityDetail | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property certificateAuthorities in directory
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<CertificateAuthorityDetail>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: CertificateAuthorityDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CertificateAuthorityDetail | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property certificateAuthorities for directory
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* Get certificateAuthorities 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<CertificateAuthorityDetailItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property certificateAuthorities in 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
|
+
toPatchRequestInformation(body: CertificateAuthorityDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get certificateAuthorities from directory
|
|
50
|
+
*/
|
|
51
|
+
export interface CertificateAuthorityDetailItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const CertificateAuthorityDetailItemRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/certificateAuthorities/{certificateAuthorityDetail%2Did}{?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const CertificateAuthorityDetailItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+F,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAItL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4CAA6C,SAAQ,kBAAkB,CAAC,4CAA4C,CAAC;IAClI;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAChL;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC5J;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,8DAA8D;IAC3E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uDAAuD,kMAAkM,CAAC;AAQvQ;;GAEG;AACH,eAAO,MAAM,4DAA4D,EAAE,gBA8B1E,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCertificateAuthorityDetailFromDiscriminatorValue, serializeCertificateAuthorityDetail } 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 CertificateAuthorityDetailItemRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/certificateAuthorities/{certificateAuthorityDetail%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const CertificateAuthorityDetailItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const CertificateAuthorityDetailItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
delete: {
|
|
24
|
+
uriTemplate: CertificateAuthorityDetailItemRequestBuilderUriTemplate,
|
|
25
|
+
errorMappings: {
|
|
26
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
27
|
+
},
|
|
28
|
+
adapterMethodName: "sendNoResponseContent",
|
|
29
|
+
},
|
|
30
|
+
get: {
|
|
31
|
+
uriTemplate: CertificateAuthorityDetailItemRequestBuilderUriTemplate,
|
|
32
|
+
responseBodyContentType: "application/json",
|
|
33
|
+
errorMappings: {
|
|
34
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
35
|
+
},
|
|
36
|
+
adapterMethodName: "send",
|
|
37
|
+
responseBodyFactory: createCertificateAuthorityDetailFromDiscriminatorValue,
|
|
38
|
+
queryParametersMapper: CertificateAuthorityDetailItemRequestBuilderGetQueryParametersMapper,
|
|
39
|
+
},
|
|
40
|
+
patch: {
|
|
41
|
+
uriTemplate: CertificateAuthorityDetailItemRequestBuilderUriTemplate,
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
45
|
+
},
|
|
46
|
+
adapterMethodName: "send",
|
|
47
|
+
responseBodyFactory: createCertificateAuthorityDetailFromDiscriminatorValue,
|
|
48
|
+
requestBodyContentType: "application/json",
|
|
49
|
+
requestBodySerializer: serializeCertificateAuthorityDetail,
|
|
50
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/* tslint:enable */
|
|
54
|
+
/* eslint-enable */
|
|
55
|
+
//# 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,sDAAsD,EAAE,mCAAmC,EAAmC,MAAM,wCAAwC,CAAC;AACtL,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA8D7H;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAG,+LAA+L,CAAC;AACvQ;;GAEG;AACH,MAAM,oEAAoE,GAA2B;IACjG,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4DAA4D,GAAqB;IAC1F,MAAM,EAAE;QACJ,WAAW,EAAE,uDAAuD;QACpE,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,uDAAuD;QACpE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,qBAAqB,EAAE,oEAAoE;KAC9F;IACD,KAAK,EAAE;QACH,WAAW,EAAE,uDAAuD;QACpE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,mCAAmC;QAC1D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type CertificateBasedAuthPki } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CertificateAuthoritiesRequestBuilder } from './certificateAuthorities/index.js';
|
|
3
|
+
import { type UploadRequestBuilder } from './upload/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 CertificateBasedAuthPkiItemRequestBuilder extends BaseRequestBuilder<CertificateBasedAuthPkiItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the certificateAuthorities property of the microsoft.graph.certificateBasedAuthPki entity.
|
|
11
|
+
*/
|
|
12
|
+
get certificateAuthorities(): CertificateAuthoritiesRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to call the upload method.
|
|
15
|
+
*/
|
|
16
|
+
get upload(): UploadRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Delete navigation property certificateBasedAuthConfigurations for directory
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
21
|
+
*/
|
|
22
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Get certificateBasedAuthConfigurations from directory
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {Promise<CertificateBasedAuthPki>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
+
*/
|
|
29
|
+
get(requestConfiguration?: RequestConfiguration<CertificateBasedAuthPkiItemRequestBuilderGetQueryParameters> | undefined): Promise<CertificateBasedAuthPki | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Update the navigation property certificateBasedAuthConfigurations in directory
|
|
32
|
+
* @param body The request body
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns {Promise<CertificateBasedAuthPki>}
|
|
35
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
36
|
+
*/
|
|
37
|
+
patch(body: CertificateBasedAuthPki, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CertificateBasedAuthPki | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete navigation property certificateBasedAuthConfigurations for directory
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns {RequestInformation}
|
|
42
|
+
*/
|
|
43
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
/**
|
|
45
|
+
* Get certificateBasedAuthConfigurations from directory
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns {RequestInformation}
|
|
48
|
+
*/
|
|
49
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CertificateBasedAuthPkiItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
50
|
+
/**
|
|
51
|
+
* Update the navigation property certificateBasedAuthConfigurations in directory
|
|
52
|
+
* @param body The request body
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns {RequestInformation}
|
|
55
|
+
*/
|
|
56
|
+
toPatchRequestInformation(body: CertificateBasedAuthPki, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get certificateBasedAuthConfigurations from directory
|
|
60
|
+
*/
|
|
61
|
+
export interface CertificateBasedAuthPkiItemRequestBuilderGetQueryParameters {
|
|
62
|
+
/**
|
|
63
|
+
* Expand related entities
|
|
64
|
+
*/
|
|
65
|
+
expand?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Select properties to be returned
|
|
68
|
+
*/
|
|
69
|
+
select?: string[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Uri template for the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const CertificateBasedAuthPkiItemRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}{?%24expand,%24select}";
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the navigation properties in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const CertificateBasedAuthPkiItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CertificateBasedAuthPkiItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
79
|
+
/**
|
|
80
|
+
* Metadata for all the requests in the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const CertificateBasedAuthPkiItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyF,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAI7K,OAAO,EAAgH,KAAK,oCAAoC,EAAE,MAAM,mCAAmC,CAAC;AAE5M,OAAO,EAAE,KAAK,oBAAoB,EAAwC,MAAM,mBAAmB,CAAC;AAEpG,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,yCAA0C,SAAQ,kBAAkB,CAAC,yCAAyC,CAAC;IAC5H;;OAEG;IACH,IAAI,sBAAsB,IAAI,oCAAoC,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AACH,eAAO,MAAM,yDAAyD,EAAE,gBA8BvE,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { 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 { CertificateAuthoritiesRequestBuilderNavigationMetadata, CertificateAuthoritiesRequestBuilderRequestsMetadata } from './certificateAuthorities/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { UploadRequestBuilderRequestsMetadata } from './upload/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const CertificateBasedAuthPkiItemRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}{?%24expand,%24select}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const CertificateBasedAuthPkiItemRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"select": "%24select",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export const CertificateBasedAuthPkiItemRequestBuilderNavigationMetadata = {
|
|
27
|
+
certificateAuthorities: {
|
|
28
|
+
requestsMetadata: CertificateAuthoritiesRequestBuilderRequestsMetadata,
|
|
29
|
+
navigationMetadata: CertificateAuthoritiesRequestBuilderNavigationMetadata,
|
|
30
|
+
},
|
|
31
|
+
upload: {
|
|
32
|
+
requestsMetadata: UploadRequestBuilderRequestsMetadata,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export const CertificateBasedAuthPkiItemRequestBuilderRequestsMetadata = {
|
|
39
|
+
delete: {
|
|
40
|
+
uriTemplate: CertificateBasedAuthPkiItemRequestBuilderUriTemplate,
|
|
41
|
+
errorMappings: {
|
|
42
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendNoResponseContent",
|
|
45
|
+
},
|
|
46
|
+
get: {
|
|
47
|
+
uriTemplate: CertificateBasedAuthPkiItemRequestBuilderUriTemplate,
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "send",
|
|
53
|
+
responseBodyFactory: createCertificateBasedAuthPkiFromDiscriminatorValue,
|
|
54
|
+
queryParametersMapper: CertificateBasedAuthPkiItemRequestBuilderGetQueryParametersMapper,
|
|
55
|
+
},
|
|
56
|
+
patch: {
|
|
57
|
+
uriTemplate: CertificateBasedAuthPkiItemRequestBuilderUriTemplate,
|
|
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
|
package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/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,mDAAmD,EAAE,gCAAgC,EAAgC,MAAM,wCAAwC,CAAC;AAC7K,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,oDAAoD,EAA6C,MAAM,mCAAmC,CAAC;AAC5M,aAAa;AACb,OAAO,EAA6B,oCAAoC,EAAE,MAAM,mBAAmB,CAAC;AAsEpG;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAG,sIAAsI,CAAC;AAC3M;;GAEG;AACH,MAAM,iEAAiE,GAA2B;IAC9F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,2DAA2D,GAA6H;IACjM,sBAAsB,EAAE;QACpB,gBAAgB,EAAE,oDAAoD;QACtE,kBAAkB,EAAE,sDAAsD;KAC7E;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yDAAyD,GAAqB;IACvF,MAAM,EAAE;QACJ,WAAW,EAAE,oDAAoD;QACjE,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,oDAAoD;QACjE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,qBAAqB,EAAE,iEAAiE;KAC3F;IACD,KAAK,EAAE;QACH,WAAW,EAAE,oDAAoD;QACjE,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"}
|
package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns {UploadPostRequestBody}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createUploadPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
11
|
+
*/
|
|
12
|
+
export declare function deserializeIntoUploadPostRequestBody(uploadPostRequestBody?: Partial<UploadPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
13
|
+
/**
|
|
14
|
+
* Serializes information the current object
|
|
15
|
+
* @param writer Serialization writer to use to serialize this model
|
|
16
|
+
*/
|
|
17
|
+
export declare function serializeUploadPostRequestBody(writer: SerializationWriter, uploadPostRequestBody?: Partial<UploadPostRequestBody> | undefined | null): void;
|
|
18
|
+
export interface UploadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
19
|
+
/**
|
|
20
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
21
|
+
*/
|
|
22
|
+
additionalData?: Record<string, unknown>;
|
|
23
|
+
/**
|
|
24
|
+
* Stores model information.
|
|
25
|
+
*/
|
|
26
|
+
backingStoreEnabled?: boolean | null;
|
|
27
|
+
/**
|
|
28
|
+
* The sha256FileHash property
|
|
29
|
+
*/
|
|
30
|
+
sha256FileHash?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The uploadUrl property
|
|
33
|
+
*/
|
|
34
|
+
uploadUrl?: string | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the upload method.
|
|
38
|
+
*/
|
|
39
|
+
export interface UploadRequestBuilder extends BaseRequestBuilder<UploadRequestBuilder> {
|
|
40
|
+
/**
|
|
41
|
+
* Invoke action upload
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
45
|
+
*/
|
|
46
|
+
post(body: UploadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Invoke action upload
|
|
49
|
+
* @param body The request body
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns {RequestInformation}
|
|
52
|
+
*/
|
|
53
|
+
toPostRequestInformation(body: UploadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
export declare const UploadRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/upload";
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
export declare const UploadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
63
|
+
//# 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,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AAEH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEzK;AACD;;;GAGG;AAEH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMvK;AACD;;;GAGG;AAEH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAMhK;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACpH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,0HAA0H,CAAC;AACvK;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
|
package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
|
+
* @returns {UploadPostRequestBody}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createUploadPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoUploadPostRequestBody;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
18
|
+
*/
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
export function deserializeIntoUploadPostRequestBody(uploadPostRequestBody = {}) {
|
|
21
|
+
return {
|
|
22
|
+
"backingStoreEnabled": n => { uploadPostRequestBody.backingStoreEnabled = true; },
|
|
23
|
+
"sha256FileHash": n => { uploadPostRequestBody.sha256FileHash = n.getStringValue(); },
|
|
24
|
+
"uploadUrl": n => { uploadPostRequestBody.uploadUrl = n.getStringValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Serializes information the current object
|
|
29
|
+
* @param writer Serialization writer to use to serialize this model
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function serializeUploadPostRequestBody(writer, uploadPostRequestBody = {}) {
|
|
33
|
+
if (uploadPostRequestBody) {
|
|
34
|
+
writer.writeStringValue("sha256FileHash", uploadPostRequestBody.sha256FileHash);
|
|
35
|
+
writer.writeStringValue("uploadUrl", uploadPostRequestBody.uploadUrl);
|
|
36
|
+
writer.writeAdditionalData(uploadPostRequestBody.additionalData);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Uri template for the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export const UploadRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/{certificateBasedAuthPki%2Did}/upload";
|
|
43
|
+
/**
|
|
44
|
+
* Metadata for all the requests in the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export const UploadRequestBuilderRequestsMetadata = {
|
|
47
|
+
post: {
|
|
48
|
+
uriTemplate: UploadRequestBuilderUriTemplate,
|
|
49
|
+
errorMappings: {
|
|
50
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "sendNoResponseContent",
|
|
53
|
+
requestBodyContentType: "application/json",
|
|
54
|
+
requestBodySerializer: serializeUploadPostRequestBody,
|
|
55
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
/* tslint:enable */
|
|
59
|
+
/* e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