@microsoft/msgraph-sdk-devicemanagement 1.0.0-preview.16 → 1.0.0-preview.17

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 (87) hide show
  1. package/deviceManagement/deviceCompliancePolicies/index.d.ts +7 -7
  2. package/deviceManagement/deviceCompliancePolicies/item/index.d.ts +10 -10
  3. package/deviceManagement/deviceConfigurations/index.d.ts +7 -7
  4. package/deviceManagement/deviceConfigurations/item/index.d.ts +10 -10
  5. package/deviceManagement/deviceEnrollmentConfigurations/index.d.ts +4 -4
  6. package/deviceManagement/deviceEnrollmentConfigurations/item/index.d.ts +6 -6
  7. package/deviceManagement/index.d.ts +2 -2
  8. package/deviceManagement/index.d.ts.map +1 -1
  9. package/deviceManagement/index.js +1 -0
  10. package/deviceManagement/roleDefinitions/item/index.d.ts +3 -3
  11. package/deviceManagement/virtualEndpoint/auditEvents/count/index.d.ts +41 -0
  12. package/deviceManagement/virtualEndpoint/auditEvents/count/index.d.ts.map +1 -0
  13. package/deviceManagement/virtualEndpoint/auditEvents/count/index.js +35 -0
  14. package/deviceManagement/virtualEndpoint/auditEvents/getAuditActivityTypes/index.d.ts +76 -0
  15. package/deviceManagement/virtualEndpoint/auditEvents/getAuditActivityTypes/index.d.ts.map +1 -0
  16. package/deviceManagement/virtualEndpoint/auditEvents/getAuditActivityTypes/index.js +65 -0
  17. package/deviceManagement/virtualEndpoint/auditEvents/index.d.ts +102 -0
  18. package/deviceManagement/virtualEndpoint/auditEvents/index.d.ts.map +1 -0
  19. package/deviceManagement/virtualEndpoint/auditEvents/index.js +72 -0
  20. package/deviceManagement/virtualEndpoint/auditEvents/item/index.d.ts +69 -0
  21. package/deviceManagement/virtualEndpoint/auditEvents/item/index.d.ts.map +1 -0
  22. package/deviceManagement/virtualEndpoint/auditEvents/item/index.js +56 -0
  23. package/deviceManagement/virtualEndpoint/index.d.ts +20 -1
  24. package/deviceManagement/virtualEndpoint/index.d.ts.map +1 -1
  25. package/deviceManagement/virtualEndpoint/index.js +21 -1
  26. package/deviceManagement/virtualEndpoint/provisioningPolicies/count/index.d.ts +41 -0
  27. package/deviceManagement/virtualEndpoint/provisioningPolicies/count/index.d.ts.map +1 -0
  28. package/deviceManagement/virtualEndpoint/provisioningPolicies/count/index.js +35 -0
  29. package/deviceManagement/virtualEndpoint/provisioningPolicies/index.d.ts +97 -0
  30. package/deviceManagement/virtualEndpoint/provisioningPolicies/index.d.ts.map +1 -0
  31. package/deviceManagement/virtualEndpoint/provisioningPolicies/index.js +69 -0
  32. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assign/index.d.ts +60 -0
  33. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assign/index.d.ts.map +1 -0
  34. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assign/index.js +59 -0
  35. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/count/index.d.ts +41 -0
  36. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/count/index.d.ts.map +1 -0
  37. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/count/index.js +35 -0
  38. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/index.d.ts +97 -0
  39. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/index.d.ts.map +1 -0
  40. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/index.js +69 -0
  41. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/count/index.d.ts +41 -0
  42. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/count/index.d.ts.map +1 -0
  43. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/count/index.js +35 -0
  44. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/index.d.ts +82 -0
  45. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/index.d.ts.map +1 -0
  46. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/index.js +57 -0
  47. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/index.d.ts +56 -0
  48. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/index.d.ts.map +1 -0
  49. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/index.js +50 -0
  50. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/mailboxSettings/index.d.ts +57 -0
  51. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/mailboxSettings/index.d.ts.map +1 -0
  52. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/mailboxSettings/index.js +48 -0
  53. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/serviceProvisioningErrors/count/index.d.ts +41 -0
  54. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  55. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/serviceProvisioningErrors/count/index.js +35 -0
  56. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/serviceProvisioningErrors/index.d.ts +75 -0
  57. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/serviceProvisioningErrors/index.d.ts.map +1 -0
  58. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/serviceProvisioningErrors/index.js +51 -0
  59. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/index.d.ts +78 -0
  60. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/index.d.ts.map +1 -0
  61. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/index.js +66 -0
  62. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/index.d.ts +83 -0
  63. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/index.d.ts.map +1 -0
  64. package/deviceManagement/virtualEndpoint/provisioningPolicies/item/index.js +70 -0
  65. package/deviceManagement/virtualEndpoint/userSettings/count/index.d.ts +41 -0
  66. package/deviceManagement/virtualEndpoint/userSettings/count/index.d.ts.map +1 -0
  67. package/deviceManagement/virtualEndpoint/userSettings/count/index.js +35 -0
  68. package/deviceManagement/virtualEndpoint/userSettings/index.d.ts +97 -0
  69. package/deviceManagement/virtualEndpoint/userSettings/index.d.ts.map +1 -0
  70. package/deviceManagement/virtualEndpoint/userSettings/index.js +69 -0
  71. package/deviceManagement/virtualEndpoint/userSettings/item/assign/index.d.ts +60 -0
  72. package/deviceManagement/virtualEndpoint/userSettings/item/assign/index.d.ts.map +1 -0
  73. package/deviceManagement/virtualEndpoint/userSettings/item/assign/index.js +59 -0
  74. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/count/index.d.ts +41 -0
  75. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/count/index.d.ts.map +1 -0
  76. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/count/index.js +35 -0
  77. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/index.d.ts +97 -0
  78. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/index.d.ts.map +1 -0
  79. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/index.js +68 -0
  80. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/item/index.d.ts +69 -0
  81. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/item/index.d.ts.map +1 -0
  82. package/deviceManagement/virtualEndpoint/userSettings/item/assignments/item/index.js +56 -0
  83. package/deviceManagement/virtualEndpoint/userSettings/item/index.d.ts +83 -0
  84. package/deviceManagement/virtualEndpoint/userSettings/item/index.d.ts.map +1 -0
  85. package/deviceManagement/virtualEndpoint/userSettings/item/index.js +70 -0
  86. package/package.json +3 -3
  87. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,102 @@
1
+ import { type CloudPcAuditEvent, type CloudPcAuditEventCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type GetAuditActivityTypesRequestBuilder } from './getAuditActivityTypes/';
4
+ import { type CloudPcAuditEventItemRequestBuilder } from './item/';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
+ /**
7
+ * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
8
+ */
9
+ export interface AuditEventsRequestBuilder extends BaseRequestBuilder<AuditEventsRequestBuilder> {
10
+ /**
11
+ * Provides operations to count the resources in the collection.
12
+ */
13
+ get count(): CountRequestBuilder;
14
+ /**
15
+ * Provides operations to call the getAuditActivityTypes method.
16
+ */
17
+ get getAuditActivityTypes(): GetAuditActivityTypesRequestBuilder;
18
+ /**
19
+ * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
20
+ * @param cloudPcAuditEventId The unique identifier of cloudPcAuditEvent
21
+ * @returns {CloudPcAuditEventItemRequestBuilder}
22
+ */
23
+ byCloudPcAuditEventId(cloudPcAuditEventId: string): CloudPcAuditEventItemRequestBuilder;
24
+ /**
25
+ * Get auditEvents from deviceManagement
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns {Promise<CloudPcAuditEventCollectionResponse>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
+ */
30
+ get(requestConfiguration?: RequestConfiguration<AuditEventsRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcAuditEventCollectionResponse | undefined>;
31
+ /**
32
+ * Create new navigation property to auditEvents for deviceManagement
33
+ * @param body The request body
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns {Promise<CloudPcAuditEvent>}
36
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
37
+ */
38
+ post(body: CloudPcAuditEvent, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcAuditEvent | undefined>;
39
+ /**
40
+ * Get auditEvents from deviceManagement
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuditEventsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Create new navigation property to auditEvents for deviceManagement
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
+ toPostRequestInformation(body: CloudPcAuditEvent, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Get auditEvents from deviceManagement
55
+ */
56
+ export interface AuditEventsRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Include count of items
59
+ */
60
+ count?: boolean;
61
+ /**
62
+ * Expand related entities
63
+ */
64
+ expand?: string[];
65
+ /**
66
+ * Filter items by property values
67
+ */
68
+ filter?: string;
69
+ /**
70
+ * Order items by property values
71
+ */
72
+ orderby?: string[];
73
+ /**
74
+ * Search items by search phrases
75
+ */
76
+ search?: string;
77
+ /**
78
+ * Select properties to be returned
79
+ */
80
+ select?: string[];
81
+ /**
82
+ * Skip the first n items
83
+ */
84
+ skip?: number;
85
+ /**
86
+ * Show only the first n items
87
+ */
88
+ top?: number;
89
+ }
90
+ /**
91
+ * Uri template for the request builder.
92
+ */
93
+ export declare const AuditEventsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
94
+ /**
95
+ * Metadata for all the navigation properties in the request builder.
96
+ */
97
+ export declare const AuditEventsRequestBuilderNavigationMetadata: Record<Exclude<keyof AuditEventsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
98
+ /**
99
+ * Metadata for all the requests in the request builder.
100
+ */
101
+ export declare const AuditEventsRequestBuilderRequestsMetadata: RequestsMetadata;
102
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8I,KAAK,iBAAiB,EAAE,KAAK,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAE9P,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAuD,KAAK,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AACzI,OAAO,EAAuD,KAAK,mCAAmC,EAAE,MAAM,SAAS,CAAC;AACxH,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,qBAAqB,IAAI,mCAAmC,CAAC;IACjE;;;;OAIG;IACF,qBAAqB,CAAC,mBAAmB,EAAE,MAAM,GAAI,mCAAmC,CAAC;IAC1F;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACzI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,yIAAyI,CAAC;AAc3L;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuditEventsRequestBuilderRequestsMetadata = exports.AuditEventsRequestBuilderNavigationMetadata = exports.AuditEventsRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const getAuditActivityTypes_1 = require("./getAuditActivityTypes/");
11
+ const item_1 = require("./item/");
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ exports.AuditEventsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents{?%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 AuditEventsRequestBuilderGetQueryParametersMapper = {
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
+ exports.AuditEventsRequestBuilderNavigationMetadata = {
33
+ byCloudPcAuditEventId: {
34
+ requestsMetadata: item_1.CloudPcAuditEventItemRequestBuilderRequestsMetadata,
35
+ pathParametersMappings: ["cloudPcAuditEvent%2Did"],
36
+ },
37
+ count: {
38
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
39
+ },
40
+ getAuditActivityTypes: {
41
+ requestsMetadata: getAuditActivityTypes_1.GetAuditActivityTypesRequestBuilderRequestsMetadata,
42
+ },
43
+ };
44
+ /**
45
+ * Metadata for all the requests in the request builder.
46
+ */
47
+ exports.AuditEventsRequestBuilderRequestsMetadata = {
48
+ get: {
49
+ uriTemplate: exports.AuditEventsRequestBuilderUriTemplate,
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "send",
55
+ responseBodyFactory: models_1.createCloudPcAuditEventCollectionResponseFromDiscriminatorValue,
56
+ queryParametersMapper: AuditEventsRequestBuilderGetQueryParametersMapper,
57
+ },
58
+ post: {
59
+ uriTemplate: exports.AuditEventsRequestBuilderUriTemplate,
60
+ responseBodyContentType: "application/json",
61
+ errorMappings: {
62
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
+ },
64
+ adapterMethodName: "send",
65
+ responseBodyFactory: models_1.createCloudPcAuditEventFromDiscriminatorValue,
66
+ requestBodyContentType: "application/json",
67
+ requestBodySerializer: models_1.serializeCloudPcAuditEvent,
68
+ requestInformationContentSetMethod: "setContentFromParsable",
69
+ },
70
+ };
71
+ /* tslint:enable */
72
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type CloudPcAuditEvent } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
5
+ */
6
+ export interface CloudPcAuditEventItemRequestBuilder extends BaseRequestBuilder<CloudPcAuditEventItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property auditEvents for deviceManagement
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 auditEvents from deviceManagement
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<CloudPcAuditEvent>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<CloudPcAuditEventItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcAuditEvent | undefined>;
20
+ /**
21
+ * Update the navigation property auditEvents in deviceManagement
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {Promise<CloudPcAuditEvent>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ patch(body: CloudPcAuditEvent, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcAuditEvent | undefined>;
28
+ /**
29
+ * Delete navigation property auditEvents for deviceManagement
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 auditEvents from deviceManagement
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcAuditEventItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property auditEvents in deviceManagement
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: CloudPcAuditEvent, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get auditEvents from deviceManagement
50
+ */
51
+ export interface CloudPcAuditEventItemRequestBuilderGetQueryParameters {
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 CloudPcAuditEventItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const CloudPcAuditEventItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6E,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnJ,OAAO,EA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eAAO,MAAM,mDAAmD,EAAE,gBA+BjE,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudPcAuditEventItemRequestBuilderRequestsMetadata = exports.CloudPcAuditEventItemRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.CloudPcAuditEventItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}{?%24expand,%24select}";
13
+ /**
14
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
+ */
16
+ const CloudPcAuditEventItemRequestBuilderGetQueryParametersMapper = {
17
+ "expand": "%24expand",
18
+ "select": "%24select",
19
+ };
20
+ /**
21
+ * Metadata for all the requests in the request builder.
22
+ */
23
+ exports.CloudPcAuditEventItemRequestBuilderRequestsMetadata = {
24
+ delete: {
25
+ uriTemplate: exports.CloudPcAuditEventItemRequestBuilderUriTemplate,
26
+ responseBodyContentType: "application/json",
27
+ errorMappings: {
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ },
30
+ adapterMethodName: "sendNoResponseContent",
31
+ },
32
+ get: {
33
+ uriTemplate: exports.CloudPcAuditEventItemRequestBuilderUriTemplate,
34
+ responseBodyContentType: "application/json",
35
+ errorMappings: {
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
37
+ },
38
+ adapterMethodName: "send",
39
+ responseBodyFactory: models_1.createCloudPcAuditEventFromDiscriminatorValue,
40
+ queryParametersMapper: CloudPcAuditEventItemRequestBuilderGetQueryParametersMapper,
41
+ },
42
+ patch: {
43
+ uriTemplate: exports.CloudPcAuditEventItemRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "send",
49
+ responseBodyFactory: models_1.createCloudPcAuditEventFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: models_1.serializeCloudPcAuditEvent,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -1,9 +1,24 @@
1
1
  import { type VirtualEndpoint } from '@microsoft/msgraph-sdk/models/';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type AuditEventsRequestBuilder } from './auditEvents/';
3
+ import { type ProvisioningPoliciesRequestBuilder } from './provisioningPolicies/';
4
+ import { type UserSettingsRequestBuilder } from './userSettings/';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
6
  /**
4
7
  * Provides operations to manage the virtualEndpoint property of the microsoft.graph.deviceManagement entity.
5
8
  */
6
9
  export interface VirtualEndpointRequestBuilder extends BaseRequestBuilder<VirtualEndpointRequestBuilder> {
10
+ /**
11
+ * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
12
+ */
13
+ get auditEvents(): AuditEventsRequestBuilder;
14
+ /**
15
+ * Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity.
16
+ */
17
+ get provisioningPolicies(): ProvisioningPoliciesRequestBuilder;
18
+ /**
19
+ * Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity.
20
+ */
21
+ get userSettings(): UserSettingsRequestBuilder;
7
22
  /**
8
23
  * Delete navigation property virtualEndpoint for deviceManagement
9
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -62,6 +77,10 @@ export interface VirtualEndpointRequestBuilderGetQueryParameters {
62
77
  * Uri template for the request builder.
63
78
  */
64
79
  export declare const VirtualEndpointRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint{?%24expand,%24select}";
80
+ /**
81
+ * Metadata for all the navigation properties in the request builder.
82
+ */
83
+ export declare const VirtualEndpointRequestBuilderNavigationMetadata: Record<Exclude<keyof VirtualEndpointRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
65
84
  /**
66
85
  * Metadata for all the requests in the request builder.
67
86
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;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,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OA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"use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VirtualEndpointRequestBuilderRequestsMetadata = exports.VirtualEndpointRequestBuilderUriTemplate = void 0;
3
+ exports.VirtualEndpointRequestBuilderRequestsMetadata = exports.VirtualEndpointRequestBuilderNavigationMetadata = exports.VirtualEndpointRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const auditEvents_1 = require("./auditEvents/");
10
+ const provisioningPolicies_1 = require("./provisioningPolicies/");
11
+ const userSettings_1 = require("./userSettings/");
9
12
  /**
10
13
  * Uri template for the request builder.
11
14
  */
@@ -17,6 +20,23 @@ const VirtualEndpointRequestBuilderGetQueryParametersMapper = {
17
20
  "expand": "%24expand",
18
21
  "select": "%24select",
19
22
  };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ exports.VirtualEndpointRequestBuilderNavigationMetadata = {
27
+ auditEvents: {
28
+ requestsMetadata: auditEvents_1.AuditEventsRequestBuilderRequestsMetadata,
29
+ navigationMetadata: auditEvents_1.AuditEventsRequestBuilderNavigationMetadata,
30
+ },
31
+ provisioningPolicies: {
32
+ requestsMetadata: provisioningPolicies_1.ProvisioningPoliciesRequestBuilderRequestsMetadata,
33
+ navigationMetadata: provisioningPolicies_1.ProvisioningPoliciesRequestBuilderNavigationMetadata,
34
+ },
35
+ userSettings: {
36
+ requestsMetadata: userSettings_1.UserSettingsRequestBuilderRequestsMetadata,
37
+ navigationMetadata: userSettings_1.UserSettingsRequestBuilderNavigationMetadata,
38
+ },
39
+ };
20
40
  /**
21
41
  * Metadata for all the requests in the request builder.
22
42
  */
@@ -0,0 +1,41 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,kGAAkG,CAAC;AAQ9I;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/$count{?%24filter,%24search}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const CountRequestBuilderGetQueryParametersMapper = {
16
+ "filter": "%24filter",
17
+ "search": "%24search",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ exports.CountRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
25
+ responseBodyContentType: "text/plain;q=0.9",
26
+ errorMappings: {
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendPrimitive",
30
+ responseBodyFactory: "number",
31
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
32
+ },
33
+ };
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type CloudPcProvisioningPolicy, type CloudPcProvisioningPolicyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type CloudPcProvisioningPolicyItemRequestBuilder } from './item/';
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 provisioningPolicies property of the microsoft.graph.virtualEndpoint entity.
7
+ */
8
+ export interface ProvisioningPoliciesRequestBuilder extends BaseRequestBuilder<ProvisioningPoliciesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity.
15
+ * @param cloudPcProvisioningPolicyId The unique identifier of cloudPcProvisioningPolicy
16
+ * @returns {CloudPcProvisioningPolicyItemRequestBuilder}
17
+ */
18
+ byCloudPcProvisioningPolicyId(cloudPcProvisioningPolicyId: string): CloudPcProvisioningPolicyItemRequestBuilder;
19
+ /**
20
+ * Get provisioningPolicies from deviceManagement
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<CloudPcProvisioningPolicyCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ProvisioningPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcProvisioningPolicyCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to provisioningPolicies for deviceManagement
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<CloudPcProvisioningPolicy>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: CloudPcProvisioningPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcProvisioningPolicy | undefined>;
34
+ /**
35
+ * Get provisioningPolicies from deviceManagement
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProvisioningPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to provisioningPolicies for deviceManagement
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: CloudPcProvisioningPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get provisioningPolicies from deviceManagement
50
+ */
51
+ export interface ProvisioningPoliciesRequestBuilderGetQueryParameters {
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 ProvisioningPoliciesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies{?%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 ProvisioningPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof ProvisioningPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const ProvisioningPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsK,KAAK,yBAAyB,EAAE,KAAK,2CAA2C,EAAE,MAAM,gCAAgC,CAAC;AAEtS,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA8H,KAAK,2CAA2C,EAAE,MAAM,SAAS,CAAC;AACvM,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,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,6BAA6B,CAAC,2BAA2B,EAAE,MAAM,GAAI,2CAA2C,CAAC;IAClH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oDAAoD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oDAAoD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC7J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,MAAM,WAAW,oDAAoD;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,kJAAkJ,CAAC;AAc7M;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kCAAkC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASlL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAuBhE,CAAC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProvisioningPoliciesRequestBuilderRequestsMetadata = exports.ProvisioningPoliciesRequestBuilderNavigationMetadata = exports.ProvisioningPoliciesRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.ProvisioningPoliciesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
15
+ /**
16
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
17
+ */
18
+ const ProvisioningPoliciesRequestBuilderGetQueryParametersMapper = {
19
+ "count": "%24count",
20
+ "expand": "%24expand",
21
+ "filter": "%24filter",
22
+ "orderby": "%24orderby",
23
+ "search": "%24search",
24
+ "select": "%24select",
25
+ "skip": "%24skip",
26
+ "top": "%24top",
27
+ };
28
+ /**
29
+ * Metadata for all the navigation properties in the request builder.
30
+ */
31
+ exports.ProvisioningPoliciesRequestBuilderNavigationMetadata = {
32
+ byCloudPcProvisioningPolicyId: {
33
+ requestsMetadata: item_1.CloudPcProvisioningPolicyItemRequestBuilderRequestsMetadata,
34
+ navigationMetadata: item_1.CloudPcProvisioningPolicyItemRequestBuilderNavigationMetadata,
35
+ pathParametersMappings: ["cloudPcProvisioningPolicy%2Did"],
36
+ },
37
+ count: {
38
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
39
+ },
40
+ };
41
+ /**
42
+ * Metadata for all the requests in the request builder.
43
+ */
44
+ exports.ProvisioningPoliciesRequestBuilderRequestsMetadata = {
45
+ get: {
46
+ uriTemplate: exports.ProvisioningPoliciesRequestBuilderUriTemplate,
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "send",
52
+ responseBodyFactory: models_1.createCloudPcProvisioningPolicyCollectionResponseFromDiscriminatorValue,
53
+ queryParametersMapper: ProvisioningPoliciesRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ post: {
56
+ uriTemplate: exports.ProvisioningPoliciesRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "send",
62
+ responseBodyFactory: models_1.createCloudPcProvisioningPolicyFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: models_1.serializeCloudPcProvisioningPolicy,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */