@microsoft/msgraph-sdk-admin 1.0.0-preview.10

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 (149) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/admin/edge/index.d.ts +75 -0
  4. package/admin/edge/index.d.ts.map +1 -0
  5. package/admin/edge/index.js +67 -0
  6. package/admin/edge/internetExplorerMode/index.d.ts +75 -0
  7. package/admin/edge/internetExplorerMode/index.d.ts.map +1 -0
  8. package/admin/edge/internetExplorerMode/index.js +67 -0
  9. package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts +40 -0
  10. package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts.map +1 -0
  11. package/admin/edge/internetExplorerMode/siteLists/count/index.js +35 -0
  12. package/admin/edge/internetExplorerMode/siteLists/index.d.ts +97 -0
  13. package/admin/edge/internetExplorerMode/siteLists/index.d.ts.map +1 -0
  14. package/admin/edge/internetExplorerMode/siteLists/index.js +71 -0
  15. package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts +88 -0
  16. package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts.map +1 -0
  17. package/admin/edge/internetExplorerMode/siteLists/item/index.js +78 -0
  18. package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts +69 -0
  19. package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts.map +1 -0
  20. package/admin/edge/internetExplorerMode/siteLists/item/publish/index.js +64 -0
  21. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts +40 -0
  22. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts.map +1 -0
  23. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.js +35 -0
  24. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts +97 -0
  25. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts.map +1 -0
  26. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.js +70 -0
  27. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts +69 -0
  28. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts.map +1 -0
  29. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.js +56 -0
  30. package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts +40 -0
  31. package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts.map +1 -0
  32. package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.js +35 -0
  33. package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts +97 -0
  34. package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts.map +1 -0
  35. package/admin/edge/internetExplorerMode/siteLists/item/sites/index.js +70 -0
  36. package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts +69 -0
  37. package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts.map +1 -0
  38. package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.js +56 -0
  39. package/admin/index.d.ts +79 -0
  40. package/admin/index.d.ts.map +1 -0
  41. package/admin/index.js +77 -0
  42. package/admin/people/index.d.ts +56 -0
  43. package/admin/people/index.d.ts.map +1 -0
  44. package/admin/people/index.js +52 -0
  45. package/admin/people/profileCardProperties/count/index.d.ts +40 -0
  46. package/admin/people/profileCardProperties/count/index.d.ts.map +1 -0
  47. package/admin/people/profileCardProperties/count/index.js +35 -0
  48. package/admin/people/profileCardProperties/index.d.ts +97 -0
  49. package/admin/people/profileCardProperties/index.d.ts.map +1 -0
  50. package/admin/people/profileCardProperties/index.js +70 -0
  51. package/admin/people/profileCardProperties/item/index.d.ts +69 -0
  52. package/admin/people/profileCardProperties/item/index.d.ts.map +1 -0
  53. package/admin/people/profileCardProperties/item/index.js +56 -0
  54. package/admin/people/pronouns/index.d.ts +57 -0
  55. package/admin/people/pronouns/index.d.ts.map +1 -0
  56. package/admin/people/pronouns/index.js +48 -0
  57. package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts +40 -0
  58. package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts.map +1 -0
  59. package/admin/serviceAnnouncement/healthOverviews/count/index.js +35 -0
  60. package/admin/serviceAnnouncement/healthOverviews/index.d.ts +96 -0
  61. package/admin/serviceAnnouncement/healthOverviews/index.d.ts.map +1 -0
  62. package/admin/serviceAnnouncement/healthOverviews/index.js +71 -0
  63. package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts +76 -0
  64. package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts.map +1 -0
  65. package/admin/serviceAnnouncement/healthOverviews/item/index.js +67 -0
  66. package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts +40 -0
  67. package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts.map +1 -0
  68. package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.js +35 -0
  69. package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts +95 -0
  70. package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts.map +1 -0
  71. package/admin/serviceAnnouncement/healthOverviews/item/issues/index.js +71 -0
  72. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts +27 -0
  73. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts.map +1 -0
  74. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.js +27 -0
  75. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts +75 -0
  76. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts.map +1 -0
  77. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.js +66 -0
  78. package/admin/serviceAnnouncement/index.d.ts +85 -0
  79. package/admin/serviceAnnouncement/index.d.ts.map +1 -0
  80. package/admin/serviceAnnouncement/index.js +79 -0
  81. package/admin/serviceAnnouncement/issues/count/index.d.ts +40 -0
  82. package/admin/serviceAnnouncement/issues/count/index.d.ts.map +1 -0
  83. package/admin/serviceAnnouncement/issues/count/index.js +35 -0
  84. package/admin/serviceAnnouncement/issues/index.d.ts +96 -0
  85. package/admin/serviceAnnouncement/issues/index.d.ts.map +1 -0
  86. package/admin/serviceAnnouncement/issues/index.js +71 -0
  87. package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts +27 -0
  88. package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts.map +1 -0
  89. package/admin/serviceAnnouncement/issues/item/incidentReport/index.js +27 -0
  90. package/admin/serviceAnnouncement/issues/item/index.d.ts +76 -0
  91. package/admin/serviceAnnouncement/issues/item/index.d.ts.map +1 -0
  92. package/admin/serviceAnnouncement/issues/item/index.js +66 -0
  93. package/admin/serviceAnnouncement/messages/archive/index.d.ts +90 -0
  94. package/admin/serviceAnnouncement/messages/archive/index.d.ts.map +1 -0
  95. package/admin/serviceAnnouncement/messages/archive/index.js +88 -0
  96. package/admin/serviceAnnouncement/messages/count/index.d.ts +40 -0
  97. package/admin/serviceAnnouncement/messages/count/index.d.ts.map +1 -0
  98. package/admin/serviceAnnouncement/messages/count/index.js +35 -0
  99. package/admin/serviceAnnouncement/messages/favorite/index.d.ts +90 -0
  100. package/admin/serviceAnnouncement/messages/favorite/index.d.ts.map +1 -0
  101. package/admin/serviceAnnouncement/messages/favorite/index.js +88 -0
  102. package/admin/serviceAnnouncement/messages/index.d.ts +126 -0
  103. package/admin/serviceAnnouncement/messages/index.d.ts.map +1 -0
  104. package/admin/serviceAnnouncement/messages/index.js +101 -0
  105. package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts +40 -0
  106. package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts.map +1 -0
  107. package/admin/serviceAnnouncement/messages/item/attachments/count/index.js +35 -0
  108. package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts +96 -0
  109. package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts.map +1 -0
  110. package/admin/serviceAnnouncement/messages/item/attachments/index.js +71 -0
  111. package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts +43 -0
  112. package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts.map +1 -0
  113. package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.js +39 -0
  114. package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts +76 -0
  115. package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts.map +1 -0
  116. package/admin/serviceAnnouncement/messages/item/attachments/item/index.js +66 -0
  117. package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts +42 -0
  118. package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts.map +1 -0
  119. package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.js +38 -0
  120. package/admin/serviceAnnouncement/messages/item/index.d.ts +81 -0
  121. package/admin/serviceAnnouncement/messages/item/index.d.ts.map +1 -0
  122. package/admin/serviceAnnouncement/messages/item/index.js +72 -0
  123. package/admin/serviceAnnouncement/messages/markRead/index.d.ts +90 -0
  124. package/admin/serviceAnnouncement/messages/markRead/index.d.ts.map +1 -0
  125. package/admin/serviceAnnouncement/messages/markRead/index.js +88 -0
  126. package/admin/serviceAnnouncement/messages/markUnread/index.d.ts +90 -0
  127. package/admin/serviceAnnouncement/messages/markUnread/index.d.ts.map +1 -0
  128. package/admin/serviceAnnouncement/messages/markUnread/index.js +88 -0
  129. package/admin/serviceAnnouncement/messages/unarchive/index.d.ts +90 -0
  130. package/admin/serviceAnnouncement/messages/unarchive/index.d.ts.map +1 -0
  131. package/admin/serviceAnnouncement/messages/unarchive/index.js +88 -0
  132. package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts +90 -0
  133. package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts.map +1 -0
  134. package/admin/serviceAnnouncement/messages/unfavorite/index.js +88 -0
  135. package/admin/sharepoint/index.d.ts +75 -0
  136. package/admin/sharepoint/index.d.ts.map +1 -0
  137. package/admin/sharepoint/index.js +66 -0
  138. package/admin/sharepoint/settings/index.d.ts +68 -0
  139. package/admin/sharepoint/settings/index.d.ts.map +1 -0
  140. package/admin/sharepoint/settings/index.js +56 -0
  141. package/adminServiceClient.d.ts +25 -0
  142. package/adminServiceClient.d.ts.map +1 -0
  143. package/adminServiceClient.js +49 -0
  144. package/index.d.ts +11 -0
  145. package/index.d.ts.map +1 -0
  146. package/index.js +20 -0
  147. package/package.json +48 -0
  148. package/tsconfig.json +15 -0
  149. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE3H,OAAO,EAA8J,KAAK,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AAChP,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrI,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,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,qBAAqB,IAAI,mCAAmC,CAAC;IACjE;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACjJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,kDAAkD,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PeopleRequestBuilderUriTemplate = exports.PeopleRequestBuilderRequestsMetadata = exports.PeopleRequestBuilderNavigationMetadata = 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 profileCardProperties_1 = require("./profileCardProperties/");
10
+ const pronouns_1 = require("./pronouns/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const PeopleRequestBuilderGetQueryParametersMapper = {
15
+ "expand": "%24expand",
16
+ "select": "%24select",
17
+ };
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ exports.PeopleRequestBuilderNavigationMetadata = {
22
+ profileCardProperties: {
23
+ uriTemplate: profileCardProperties_1.ProfileCardPropertiesRequestBuilderUriTemplate,
24
+ requestsMetadata: profileCardProperties_1.ProfileCardPropertiesRequestBuilderRequestsMetadata,
25
+ navigationMetadata: profileCardProperties_1.ProfileCardPropertiesRequestBuilderNavigationMetadata,
26
+ },
27
+ pronouns: {
28
+ uriTemplate: pronouns_1.PronounsRequestBuilderUriTemplate,
29
+ requestsMetadata: pronouns_1.PronounsRequestBuilderRequestsMetadata,
30
+ },
31
+ };
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ exports.PeopleRequestBuilderRequestsMetadata = {
36
+ get: {
37
+ responseBodyContentType: "application/json",
38
+ errorMappings: {
39
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
+ },
42
+ adapterMethodName: "sendAsync",
43
+ responseBodyFactory: models_1.createPeopleAdminSettingsFromDiscriminatorValue,
44
+ queryParametersMapper: PeopleRequestBuilderGetQueryParametersMapper,
45
+ },
46
+ };
47
+ /**
48
+ * Uri template for the request builder.
49
+ */
50
+ exports.PeopleRequestBuilderUriTemplate = "{+baseurl}/admin/people{?%24select,%24expand}";
51
+ /* tslint:enable */
52
+ /* eslint-enable */
@@ -0,0 +1,40 @@
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 a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/$count{?%24search,%24filter}";
40
+ //# 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;;;;OAIG;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;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,+EAA+E,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type ProfileCardProperty, type ProfileCardPropertyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type ProfileCardPropertyItemRequestBuilder } 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 profileCardProperties property of the microsoft.graph.peopleAdminSettings entity.
7
+ */
8
+ export interface ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder<ProfileCardPropertiesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity.
15
+ * @param profileCardPropertyId The unique identifier of profileCardProperty
16
+ * @returns a ProfileCardPropertyItemRequestBuilder
17
+ */
18
+ byProfileCardPropertyId(profileCardPropertyId: string): ProfileCardPropertyItemRequestBuilder;
19
+ /**
20
+ * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of ProfileCardPropertyCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ProfileCardPropertiesRequestBuilderGetQueryParameters> | undefined): Promise<ProfileCardPropertyCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of ProfileCardProperty
31
+ * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilecardproperties?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileCardProperty | undefined>;
34
+ /**
35
+ * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfileCardPropertiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
50
+ */
51
+ export interface ProfileCardPropertiesRequestBuilderGetQueryParameters {
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
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const ProfileCardPropertiesRequestBuilderNavigationMetadata: Record<Exclude<keyof ProfileCardPropertiesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const ProfileCardPropertiesRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const ProfileCardPropertiesRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2G,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AAC9K,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,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,uBAAuB,CAAC,qBAAqB,EAAE,MAAM,GAAI,qCAAqC,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;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,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,+HAA+H,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProfileCardPropertiesRequestBuilderUriTemplate = exports.ProfileCardPropertiesRequestBuilderRequestsMetadata = exports.ProfileCardPropertiesRequestBuilderNavigationMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const ProfileCardPropertiesRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.ProfileCardPropertiesRequestBuilderNavigationMetadata = {
28
+ byProfileCardPropertyId: {
29
+ uriTemplate: item_1.ProfileCardPropertyItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.ProfileCardPropertyItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["profileCardProperty%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.ProfileCardPropertiesRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createProfileCardPropertyCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: ProfileCardPropertiesRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createProfileCardPropertyFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeProfileCardProperty,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.ProfileCardPropertiesRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type ProfileCardProperty } 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 profileCardProperties property of the microsoft.graph.peopleAdminSettings entity.
5
+ */
6
+ export interface ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder<ProfileCardPropertyItemRequestBuilder> {
7
+ /**
8
+ * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-delete?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a Promise of ProfileCardProperty
17
+ * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-1.0|Find more info here}
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<ProfileCardPropertyItemRequestBuilderGetQueryParameters> | undefined): Promise<ProfileCardProperty | undefined>;
20
+ /**
21
+ * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns a Promise of ProfileCardProperty
25
+ * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-update?view=graph-rest-1.0|Find more info here}
26
+ */
27
+ patch(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileCardProperty | undefined>;
28
+ /**
29
+ * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a RequestInformation
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ /**
35
+ * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfileCardPropertyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPatchRequestInformation(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
50
+ */
51
+ export interface ProfileCardPropertyItemRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Expand related entities
54
+ */
55
+ expand?: string[];
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ }
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const ProfileCardPropertyItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const ProfileCardPropertyItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24select,%24expand}";
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAEzJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,mGAAmG,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProfileCardPropertyItemRequestBuilderUriTemplate = exports.ProfileCardPropertyItemRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const ProfileCardPropertyItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.ProfileCardPropertyItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createProfileCardPropertyFromDiscriminatorValue,
36
+ queryParametersMapper: ProfileCardPropertyItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createProfileCardPropertyFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeProfileCardProperty,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.ProfileCardPropertyItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,57 @@
1
+ import { type PronounsSettings } 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 pronouns property of the microsoft.graph.peopleAdminSettings entity.
5
+ */
6
+ export interface PronounsRequestBuilder extends BaseRequestBuilder<PronounsRequestBuilder> {
7
+ /**
8
+ * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of PronounsSettings
11
+ * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns?view=graph-rest-1.0|Find more info here}
12
+ */
13
+ get(requestConfiguration?: RequestConfiguration<PronounsRequestBuilderGetQueryParameters> | undefined): Promise<PronounsSettings | undefined>;
14
+ /**
15
+ * Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
16
+ * @param body The request body
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns a Promise of PronounsSettings
19
+ * @see {@link https://learn.microsoft.com/graph/api/pronounssettings-update?view=graph-rest-1.0|Find more info here}
20
+ */
21
+ patch(body: PronounsSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PronounsSettings | undefined>;
22
+ /**
23
+ * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns a RequestInformation
26
+ */
27
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PronounsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
28
+ /**
29
+ * Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
30
+ * @param body The request body
31
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
+ * @returns a RequestInformation
33
+ */
34
+ toPatchRequestInformation(body: PronounsSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
+ }
36
+ /**
37
+ * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
38
+ */
39
+ export interface PronounsRequestBuilderGetQueryParameters {
40
+ /**
41
+ * Expand related entities
42
+ */
43
+ expand?: string[];
44
+ /**
45
+ * Select properties to be returned
46
+ */
47
+ select?: string[];
48
+ }
49
+ /**
50
+ * Metadata for all the requests in the request builder.
51
+ */
52
+ export declare const PronounsRequestBuilderRequestsMetadata: RequestsMetadata;
53
+ /**
54
+ * Uri template for the request builder.
55
+ */
56
+ export declare const PronounsRequestBuilderUriTemplate = "{+baseurl}/admin/people/pronouns{?%24select,%24expand}";
57
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEhJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,2DAA2D,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PronounsRequestBuilderUriTemplate = exports.PronounsRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const PronounsRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.PronounsRequestBuilderRequestsMetadata = {
20
+ get: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendAsync",
27
+ responseBodyFactory: models_1.createPronounsSettingsFromDiscriminatorValue,
28
+ queryParametersMapper: PronounsRequestBuilderGetQueryParametersMapper,
29
+ },
30
+ patch: {
31
+ responseBodyContentType: "application/json",
32
+ errorMappings: {
33
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ },
36
+ adapterMethodName: "sendAsync",
37
+ responseBodyFactory: models_1.createPronounsSettingsFromDiscriminatorValue,
38
+ requestBodyContentType: "application/json",
39
+ requestBodySerializer: models_1.serializePronounsSettings,
40
+ requestInformationContentSetMethod: "setContentFromParsable",
41
+ },
42
+ };
43
+ /**
44
+ * Uri template for the request builder.
45
+ */
46
+ exports.PronounsRequestBuilderUriTemplate = "{+baseurl}/admin/people/pronouns{?%24select,%24expand}";
47
+ /* tslint:enable */
48
+ /* eslint-enable */
@@ -0,0 +1,40 @@
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 a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/$count{?%24search,%24filter}";
40
+ //# 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;;;;OAIG;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;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,sFAAsF,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */