@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.
Files changed (39) hide show
  1. package/README.md +186 -4
  2. package/directory/index.d.ts +5 -0
  3. package/directory/index.d.ts.map +1 -1
  4. package/directory/index.js +6 -0
  5. package/directory/index.js.map +1 -1
  6. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts +41 -0
  7. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.d.ts.map +1 -0
  8. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js +34 -0
  9. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/count/index.js.map +1 -0
  10. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.d.ts +97 -0
  11. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.d.ts.map +1 -0
  12. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.js +71 -0
  13. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/index.js.map +1 -0
  14. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.d.ts +41 -0
  15. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.d.ts.map +1 -0
  16. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.js +34 -0
  17. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/count/index.js.map +1 -0
  18. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.d.ts +97 -0
  19. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.d.ts.map +1 -0
  20. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.js +70 -0
  21. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/index.js.map +1 -0
  22. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.d.ts +69 -0
  23. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.d.ts.map +1 -0
  24. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.js +55 -0
  25. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/certificateAuthorities/item/index.js.map +1 -0
  26. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts +83 -0
  27. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.d.ts.map +1 -0
  28. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.js +71 -0
  29. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/index.js.map +1 -0
  30. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts +63 -0
  31. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.d.ts.map +1 -0
  32. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js +60 -0
  33. package/directory/publicKeyInfrastructure/certificateBasedAuthConfigurations/item/upload/index.js.map +1 -0
  34. package/directory/publicKeyInfrastructure/index.d.ts +78 -0
  35. package/directory/publicKeyInfrastructure/index.d.ts.map +1 -0
  36. package/directory/publicKeyInfrastructure/index.js +66 -0
  37. package/directory/publicKeyInfrastructure/index.js.map +1 -0
  38. package/package.json +2 -2
  39. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,78 @@
1
+ import { type PublicKeyInfrastructureRoot } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CertificateBasedAuthConfigurationsRequestBuilder } from './certificateBasedAuthConfigurations/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the publicKeyInfrastructure property of the microsoft.graph.directory entity.
6
+ */
7
+ export interface PublicKeyInfrastructureRequestBuilder extends BaseRequestBuilder<PublicKeyInfrastructureRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the certificateBasedAuthConfigurations property of the microsoft.graph.publicKeyInfrastructureRoot entity.
10
+ */
11
+ get certificateBasedAuthConfigurations(): CertificateBasedAuthConfigurationsRequestBuilder;
12
+ /**
13
+ * Delete navigation property publicKeyInfrastructure for directory
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
+ */
17
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Get publicKeyInfrastructure from directory
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<PublicKeyInfrastructureRoot>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<PublicKeyInfrastructureRequestBuilderGetQueryParameters> | undefined): Promise<PublicKeyInfrastructureRoot | undefined>;
25
+ /**
26
+ * Update the navigation property publicKeyInfrastructure in directory
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<PublicKeyInfrastructureRoot>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ */
32
+ patch(body: PublicKeyInfrastructureRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PublicKeyInfrastructureRoot | undefined>;
33
+ /**
34
+ * Delete navigation property publicKeyInfrastructure for directory
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
+ /**
40
+ * Get publicKeyInfrastructure from directory
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PublicKeyInfrastructureRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Update the navigation property publicKeyInfrastructure in directory
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns {RequestInformation}
50
+ */
51
+ toPatchRequestInformation(body: PublicKeyInfrastructureRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Get publicKeyInfrastructure from directory
55
+ */
56
+ export interface PublicKeyInfrastructureRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Expand related entities
59
+ */
60
+ expand?: string[];
61
+ /**
62
+ * Select properties to be returned
63
+ */
64
+ select?: string[];
65
+ }
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ export declare const PublicKeyInfrastructureRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure{?%24expand,%24select}";
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const PublicKeyInfrastructureRequestBuilderNavigationMetadata: Record<Exclude<keyof PublicKeyInfrastructureRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const PublicKeyInfrastructureRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiG,KAAK,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAIzL,OAAO,EAAwI,KAAK,gDAAgD,EAAE,MAAM,+CAA+C,CAAC;AAE5P,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAA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AAO,MAAM,gDAAgD,uEAAuE,CAAC;AAQrI;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA8BnE,CAAC"}
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createPublicKeyInfrastructureRootFromDiscriminatorValue, serializePublicKeyInfrastructureRoot } 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 { CertificateBasedAuthConfigurationsRequestBuilderNavigationMetadata, CertificateBasedAuthConfigurationsRequestBuilderRequestsMetadata } from './certificateBasedAuthConfigurations/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const PublicKeyInfrastructureRequestBuilderUriTemplate = "{+baseurl}/directory/publicKeyInfrastructure{?%24expand,%24select}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const PublicKeyInfrastructureRequestBuilderGetQueryParametersMapper = {
18
+ "expand": "%24expand",
19
+ "select": "%24select",
20
+ };
21
+ /**
22
+ * Metadata for all the navigation properties in the request builder.
23
+ */
24
+ export const PublicKeyInfrastructureRequestBuilderNavigationMetadata = {
25
+ certificateBasedAuthConfigurations: {
26
+ requestsMetadata: CertificateBasedAuthConfigurationsRequestBuilderRequestsMetadata,
27
+ navigationMetadata: CertificateBasedAuthConfigurationsRequestBuilderNavigationMetadata,
28
+ },
29
+ };
30
+ /**
31
+ * Metadata for all the requests in the request builder.
32
+ */
33
+ export const PublicKeyInfrastructureRequestBuilderRequestsMetadata = {
34
+ delete: {
35
+ uriTemplate: PublicKeyInfrastructureRequestBuilderUriTemplate,
36
+ errorMappings: {
37
+ XXX: createODataErrorFromDiscriminatorValue,
38
+ },
39
+ adapterMethodName: "sendNoResponseContent",
40
+ },
41
+ get: {
42
+ uriTemplate: PublicKeyInfrastructureRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ XXX: createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createPublicKeyInfrastructureRootFromDiscriminatorValue,
49
+ queryParametersMapper: PublicKeyInfrastructureRequestBuilderGetQueryParametersMapper,
50
+ },
51
+ patch: {
52
+ uriTemplate: PublicKeyInfrastructureRequestBuilderUriTemplate,
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ XXX: createODataErrorFromDiscriminatorValue,
56
+ },
57
+ adapterMethodName: "send",
58
+ responseBodyFactory: createPublicKeyInfrastructureRootFromDiscriminatorValue,
59
+ requestBodyContentType: "application/json",
60
+ requestBodySerializer: serializePublicKeyInfrastructureRoot,
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,uDAAuD,EAAE,oCAAoC,EAAoC,MAAM,wCAAwC,CAAC;AACzL,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,kEAAkE,EAAE,gEAAgE,EAAyD,MAAM,+CAA+C,CAAC;AAkE5P;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,oEAAoE,CAAC;AACrI;;GAEG;AACH,MAAM,6DAA6D,GAA2B;IAC1F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAyH;IACzL,kCAAkC,EAAE;QAChC,gBAAgB,EAAE,gEAAgE;QAClF,kBAAkB,EAAE,kEAAkE;KACzF;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAqB;IACnF,MAAM,EAAE;QACJ,WAAW,EAAE,gDAAgD;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,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,uDAAuD;QAC7E,qBAAqB,EAAE,6DAA6D;KACvF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,gDAAgD;QAC7D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uDAAuD;QAC7E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oCAAoC;QAC3D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-directory",
3
- "version": "1.0.0-preview.55",
3
+ "version": "1.0.0-preview.58",
4
4
  "description": "Directory fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,5 +37,5 @@
37
37
  "typescript": "^5.3.3"
38
38
  },
39
39
  "type": "module",
40
- "gitHead": "4fed41b101ebd69522e2febb1b9ff4e41aeb6e02"
40
+ "gitHead": "d363ba15cf74a576b0b7e7377d98a9bcfdbc7025"
41
41
  }