@microsoft/msgraph-sdk-groups 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 (158) hide show
  1. package/groups/item/calendar/calendarView/item/attachments/index.d.ts +3 -3
  2. package/groups/item/calendar/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  3. package/groups/item/calendar/events/item/attachments/index.d.ts +3 -3
  4. package/groups/item/calendar/events/item/instances/item/attachments/index.d.ts +3 -3
  5. package/groups/item/calendarView/item/attachments/index.d.ts +3 -3
  6. package/groups/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  7. package/groups/item/conversations/index.d.ts +3 -3
  8. package/groups/item/conversations/item/index.d.ts +5 -5
  9. package/groups/item/events/item/attachments/index.d.ts +3 -3
  10. package/groups/item/events/item/instances/item/attachments/index.d.ts +3 -3
  11. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.d.ts +5 -0
  12. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.d.ts.map +1 -1
  13. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.js +4 -0
  14. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts +81 -0
  15. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts.map +1 -0
  16. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.js +54 -0
  17. package/groups/item/sites/item/getByPathWithPath/index.d.ts +5 -0
  18. package/groups/item/sites/item/getByPathWithPath/index.d.ts.map +1 -1
  19. package/groups/item/sites/item/getByPathWithPath/index.js +4 -0
  20. package/groups/item/sites/item/getByPathWithPath/pages/index.d.ts +81 -0
  21. package/groups/item/sites/item/getByPathWithPath/pages/index.d.ts.map +1 -0
  22. package/groups/item/sites/item/getByPathWithPath/pages/index.js +54 -0
  23. package/groups/item/sites/item/index.d.ts +5 -0
  24. package/groups/item/sites/item/index.d.ts.map +1 -1
  25. package/groups/item/sites/item/index.js +5 -0
  26. package/groups/item/sites/item/pages/count/index.d.ts +41 -0
  27. package/groups/item/sites/item/pages/count/index.d.ts.map +1 -0
  28. package/groups/item/sites/item/pages/count/index.js +35 -0
  29. package/groups/item/sites/item/pages/graphSitePage/count/index.d.ts +41 -0
  30. package/groups/item/sites/item/pages/graphSitePage/count/index.d.ts.map +1 -0
  31. package/groups/item/sites/item/pages/graphSitePage/count/index.js +35 -0
  32. package/groups/item/sites/item/pages/graphSitePage/index.d.ts +75 -0
  33. package/groups/item/sites/item/pages/graphSitePage/index.d.ts.map +1 -0
  34. package/groups/item/sites/item/pages/graphSitePage/index.js +51 -0
  35. package/groups/item/sites/item/pages/index.d.ts +102 -0
  36. package/groups/item/sites/item/pages/index.d.ts.map +1 -0
  37. package/groups/item/sites/item/pages/index.js +74 -0
  38. package/groups/item/sites/item/pages/item/createdByUser/index.d.ts +56 -0
  39. package/groups/item/sites/item/pages/item/createdByUser/index.d.ts.map +1 -0
  40. package/groups/item/sites/item/pages/item/createdByUser/index.js +50 -0
  41. package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.d.ts +57 -0
  42. package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  43. package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.js +48 -0
  44. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  45. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  46. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  47. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.d.ts +75 -0
  48. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  49. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.js +51 -0
  50. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.d.ts +41 -0
  51. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.d.ts.map +1 -0
  52. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.js +35 -0
  53. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.d.ts +97 -0
  54. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.d.ts.map +1 -0
  55. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.js +69 -0
  56. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.d.ts +41 -0
  57. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.d.ts.map +1 -0
  58. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.js +35 -0
  59. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.d.ts +97 -0
  60. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.d.ts.map +1 -0
  61. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.js +69 -0
  62. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.d.ts +78 -0
  63. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.d.ts.map +1 -0
  64. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.js +66 -0
  65. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.d.ts +41 -0
  66. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.d.ts.map +1 -0
  67. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.js +35 -0
  68. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts +97 -0
  69. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts.map +1 -0
  70. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.js +68 -0
  71. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts +69 -0
  72. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts.map +1 -0
  73. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.js +56 -0
  74. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.d.ts +78 -0
  75. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.d.ts.map +1 -0
  76. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.js +66 -0
  77. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.d.ts +83 -0
  78. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.d.ts.map +1 -0
  79. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.js +71 -0
  80. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts +78 -0
  81. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts.map +1 -0
  82. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.js +66 -0
  83. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.d.ts +41 -0
  84. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.d.ts.map +1 -0
  85. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.js +35 -0
  86. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts +97 -0
  87. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts.map +1 -0
  88. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.js +68 -0
  89. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts +69 -0
  90. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts.map +1 -0
  91. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.js +56 -0
  92. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.d.ts +56 -0
  93. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.d.ts.map +1 -0
  94. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.js +50 -0
  95. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.d.ts +57 -0
  96. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  97. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.js +48 -0
  98. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  99. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  100. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  101. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.d.ts +75 -0
  102. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  103. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.js +51 -0
  104. package/groups/item/sites/item/pages/item/graphSitePage/index.d.ts +66 -0
  105. package/groups/item/sites/item/pages/item/graphSitePage/index.d.ts.map +1 -0
  106. package/groups/item/sites/item/pages/item/graphSitePage/index.js +61 -0
  107. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.d.ts +56 -0
  108. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.d.ts.map +1 -0
  109. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.js +50 -0
  110. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.d.ts +57 -0
  111. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  112. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.js +48 -0
  113. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  114. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  115. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  116. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +75 -0
  117. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  118. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.js +51 -0
  119. package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.d.ts +41 -0
  120. package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.d.ts.map +1 -0
  121. package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.js +35 -0
  122. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts +97 -0
  123. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts.map +1 -0
  124. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.js +68 -0
  125. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts +69 -0
  126. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts.map +1 -0
  127. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.js +56 -0
  128. package/groups/item/sites/item/pages/item/index.d.ts +88 -0
  129. package/groups/item/sites/item/pages/item/index.d.ts.map +1 -0
  130. package/groups/item/sites/item/pages/item/index.js +76 -0
  131. package/groups/item/sites/item/pages/item/lastModifiedByUser/index.d.ts +56 -0
  132. package/groups/item/sites/item/pages/item/lastModifiedByUser/index.d.ts.map +1 -0
  133. package/groups/item/sites/item/pages/item/lastModifiedByUser/index.js +50 -0
  134. package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.d.ts +57 -0
  135. package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  136. package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
  137. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  138. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  139. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  140. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +75 -0
  141. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  142. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.js +51 -0
  143. package/groups/item/sites/item/sites/add/index.d.ts +84 -0
  144. package/groups/item/sites/item/sites/add/index.d.ts.map +1 -0
  145. package/groups/item/sites/item/sites/add/index.js +86 -0
  146. package/groups/item/sites/item/sites/index.d.ts +10 -0
  147. package/groups/item/sites/item/sites/index.d.ts.map +1 -1
  148. package/groups/item/sites/item/sites/index.js +8 -0
  149. package/groups/item/sites/item/sites/remove/index.d.ts +84 -0
  150. package/groups/item/sites/item/sites/remove/index.d.ts.map +1 -0
  151. package/groups/item/sites/item/sites/remove/index.js +86 -0
  152. package/groups/item/team/channels/item/members/index.d.ts +3 -3
  153. package/groups/item/team/channels/item/members/item/index.d.ts +3 -3
  154. package/groups/item/team/primaryChannel/members/index.d.ts +3 -3
  155. package/groups/item/team/primaryChannel/members/item/index.d.ts +3 -3
  156. package/groups/item/threads/item/index.d.ts +5 -5
  157. package/package.json +3 -3
  158. package/tsconfig.tsbuildinfo +1 -1
@@ -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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors/$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,wKAAwK,CAAC;AAQpN;;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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors/$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,75 @@
1
+ import { type ServiceProvisioningErrorCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors
6
+ */
7
+ export interface ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder<ServiceProvisioningErrorsRequestBuilder> {
8
+ /**
9
+ * Provides operations to count the resources in the collection.
10
+ */
11
+ get count(): CountRequestBuilder;
12
+ /**
13
+ * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns {Promise<ServiceProvisioningErrorCollectionResponse>}
16
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
17
+ */
18
+ get(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): Promise<ServiceProvisioningErrorCollectionResponse | undefined>;
19
+ /**
20
+ * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {RequestInformation}
23
+ */
24
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
25
+ }
26
+ /**
27
+ * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
28
+ */
29
+ export interface ServiceProvisioningErrorsRequestBuilderGetQueryParameters {
30
+ /**
31
+ * Include count of items
32
+ */
33
+ count?: boolean;
34
+ /**
35
+ * Expand related entities
36
+ */
37
+ expand?: string[];
38
+ /**
39
+ * Filter items by property values
40
+ */
41
+ filter?: string;
42
+ /**
43
+ * Order items by property values
44
+ */
45
+ orderby?: string[];
46
+ /**
47
+ * Search items by search phrases
48
+ */
49
+ search?: string;
50
+ /**
51
+ * Select properties to be returned
52
+ */
53
+ select?: string[];
54
+ /**
55
+ * Skip the first n items
56
+ */
57
+ skip?: number;
58
+ /**
59
+ * Show only the first n items
60
+ */
61
+ top?: number;
62
+ }
63
+ /**
64
+ * Uri template for the request builder.
65
+ */
66
+ export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
67
+ /**
68
+ * Metadata for all the navigation properties in the request builder.
69
+ */
70
+ export declare const ServiceProvisioningErrorsRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceProvisioningErrorsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
71
+ /**
72
+ * Metadata for all the requests in the request builder.
73
+ */
74
+ export declare const ServiceProvisioningErrorsRequestBuilderRequestsMetadata: RequestsMetadata;
75
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0E,KAAK,0CAA0C,EAAE,MAAM,gCAAgC,CAAC;AAEzK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,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,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;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,kDAAkD,wNAAwN,CAAC;AAcxR;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAWrE,CAAC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = 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
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper = {
18
+ "count": "%24count",
19
+ "expand": "%24expand",
20
+ "filter": "%24filter",
21
+ "orderby": "%24orderby",
22
+ "search": "%24search",
23
+ "select": "%24select",
24
+ "skip": "%24skip",
25
+ "top": "%24top",
26
+ };
27
+ /**
28
+ * Metadata for all the navigation properties in the request builder.
29
+ */
30
+ exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
31
+ count: {
32
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
33
+ },
34
+ };
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = {
39
+ get: {
40
+ uriTemplate: exports.ServiceProvisioningErrorsRequestBuilderUriTemplate,
41
+ responseBodyContentType: "application/json",
42
+ errorMappings: {
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "send",
46
+ responseBodyFactory: models_1.createServiceProvisioningErrorCollectionResponseFromDiscriminatorValue,
47
+ queryParametersMapper: ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper,
48
+ },
49
+ };
50
+ /* tslint:enable */
51
+ /* eslint-enable */
@@ -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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/$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,oIAAoI,CAAC;AAQhL;;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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/$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 WebPart, type WebPartCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type WebPartItemRequestBuilder } 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 webParts property of the microsoft.graph.sitePage entity.
7
+ */
8
+ export interface WebPartsRequestBuilder extends BaseRequestBuilder<WebPartsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the webParts property of the microsoft.graph.sitePage entity.
15
+ * @param webPartId The unique identifier of webPart
16
+ * @returns {WebPartItemRequestBuilder}
17
+ */
18
+ byWebPartId(webPartId: string): WebPartItemRequestBuilder;
19
+ /**
20
+ * Get webParts from groups
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<WebPartCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<WebPartsRequestBuilderGetQueryParameters> | undefined): Promise<WebPartCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to webParts for groups
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<WebPart>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: WebPart, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WebPart | undefined>;
34
+ /**
35
+ * Get webParts from groups
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WebPartsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to webParts for groups
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: WebPart, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get webParts from groups
50
+ */
51
+ export interface WebPartsRequestBuilderGetQueryParameters {
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 WebPartsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts{?%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 WebPartsRequestBuilderNavigationMetadata: Record<Exclude<keyof WebPartsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const WebPartsRequestBuilderRequestsMetadata: 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,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE5M,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAE,KAAK,yBAAyB,EAA6C,MAAM,SAAS,CAAC;AACpG,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;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,iCAAiC,oLAAoL,CAAC;AAcnO;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebPartsRequestBuilderRequestsMetadata = exports.WebPartsRequestBuilderNavigationMetadata = exports.WebPartsRequestBuilderUriTemplate = 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.WebPartsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts{?%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 WebPartsRequestBuilderGetQueryParametersMapper = {
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.WebPartsRequestBuilderNavigationMetadata = {
32
+ byWebPartId: {
33
+ requestsMetadata: item_1.WebPartItemRequestBuilderRequestsMetadata,
34
+ pathParametersMappings: ["webPart%2Did"],
35
+ },
36
+ count: {
37
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
38
+ },
39
+ };
40
+ /**
41
+ * Metadata for all the requests in the request builder.
42
+ */
43
+ exports.WebPartsRequestBuilderRequestsMetadata = {
44
+ get: {
45
+ uriTemplate: exports.WebPartsRequestBuilderUriTemplate,
46
+ responseBodyContentType: "application/json",
47
+ errorMappings: {
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ },
50
+ adapterMethodName: "send",
51
+ responseBodyFactory: models_1.createWebPartCollectionResponseFromDiscriminatorValue,
52
+ queryParametersMapper: WebPartsRequestBuilderGetQueryParametersMapper,
53
+ },
54
+ post: {
55
+ uriTemplate: exports.WebPartsRequestBuilderUriTemplate,
56
+ responseBodyContentType: "application/json",
57
+ errorMappings: {
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ },
60
+ adapterMethodName: "send",
61
+ responseBodyFactory: models_1.createWebPartFromDiscriminatorValue,
62
+ requestBodyContentType: "application/json",
63
+ requestBodySerializer: models_1.serializeWebPart,
64
+ requestInformationContentSetMethod: "setContentFromParsable",
65
+ },
66
+ };
67
+ /* tslint:enable */
68
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type WebPart } 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 webParts property of the microsoft.graph.sitePage entity.
5
+ */
6
+ export interface WebPartItemRequestBuilder extends BaseRequestBuilder<WebPartItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property webParts for groups
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 webParts from groups
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<WebPart>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<WebPartItemRequestBuilderGetQueryParameters> | undefined): Promise<WebPart | undefined>;
20
+ /**
21
+ * Update the navigation property webParts in groups
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {Promise<WebPart>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ patch(body: WebPart, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WebPart | undefined>;
28
+ /**
29
+ * Delete navigation property webParts for groups
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 webParts from groups
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WebPartItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property webParts in groups
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: WebPart, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get webParts from groups
50
+ */
51
+ export interface WebPartItemRequestBuilderGetQueryParameters {
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 WebPartItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const WebPartItemRequestBuilderRequestsMetadata: 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,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAErH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtH;;;;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,4IAA4I,CAAC;AAQ9L;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebPartItemRequestBuilderRequestsMetadata = exports.WebPartItemRequestBuilderUriTemplate = 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.WebPartItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%2Did}{?%24expand,%24select}";
13
+ /**
14
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
+ */
16
+ const WebPartItemRequestBuilderGetQueryParametersMapper = {
17
+ "expand": "%24expand",
18
+ "select": "%24select",
19
+ };
20
+ /**
21
+ * Metadata for all the requests in the request builder.
22
+ */
23
+ exports.WebPartItemRequestBuilderRequestsMetadata = {
24
+ delete: {
25
+ uriTemplate: exports.WebPartItemRequestBuilderUriTemplate,
26
+ responseBodyContentType: "application/json",
27
+ errorMappings: {
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ },
30
+ adapterMethodName: "sendNoResponseContent",
31
+ },
32
+ get: {
33
+ uriTemplate: exports.WebPartItemRequestBuilderUriTemplate,
34
+ responseBodyContentType: "application/json",
35
+ errorMappings: {
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
37
+ },
38
+ adapterMethodName: "send",
39
+ responseBodyFactory: models_1.createWebPartFromDiscriminatorValue,
40
+ queryParametersMapper: WebPartItemRequestBuilderGetQueryParametersMapper,
41
+ },
42
+ patch: {
43
+ uriTemplate: exports.WebPartItemRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "send",
49
+ responseBodyFactory: models_1.createWebPartFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: models_1.serializeWebPart,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /* tslint:enable */
56
+ /* eslint-enable */